Language: log file troubleshooting



In Notepad++ I had defined a “language” which highlighted words that are relevant when viewing a log file.

Words automatically marked RED
unknown cannot not out refused full removed deleted disconnect CONNECTIONFAIL invalid
error problem unable fail failed crash fatal wrong bad down stop exception mistake

Words automatically marked GREEN
good success successful successfully succeed congratulations completed

**Q: Is there such a language in Atom? **

So it’s just about highlighting these words, nothing else.

I’m not even sure if a language is needed to create this keyword highlighting.

Any ideas?


You can make one easily enough. I’ve made a grammar template with annotations that explain parts of it, and for such a simple language package, you really don’t require much of anything. Here’s an example of a simple language I whipped up for someone.