Created
December 6, 2014 06:28
-
-
Save vhenzl/3fbdc05e1364e3df94c8 to your computer and use it in GitHub Desktop.
log4net log file syntax highlighting for Sublime Text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-12-06 07:08:09,010 [5 ] DEBUG [identity-name ] [sessionid00000ab12cd34ef] Logged.Class.Full.Name.Aka.Logger - Log message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>fileTypes</key> | |
<array> | |
<string>log</string> | |
</array> | |
<key>name</key> | |
<string>Log4Net</string> | |
<key>patterns</key> | |
<array> | |
<dict> | |
<key>captures</key> | |
<dict> | |
<key>1</key> | |
<dict> | |
<key>name</key> | |
<string>string.interpolated.log4net</string> | |
</dict> | |
<key>2</key> | |
<dict> | |
<key>name</key> | |
<string>constant.numeric.log4net</string> | |
</dict> | |
<key>3</key> | |
<dict> | |
<key>name</key> | |
<string>keyword.log4net</string> | |
</dict> | |
<key>4</key> | |
<dict> | |
<key>name</key> | |
<string>support.function.log4net</string> | |
</dict> | |
<key>5</key> | |
<dict> | |
<key>name</key> | |
<string>entity.name.function.log4net</string> | |
</dict> | |
</dict> | |
<key>comment</key> | |
<string>Default log4net log string.</string> | |
<key>match</key> | |
<string>^(\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3})\s\[([\w\-]+)\s*\]\s(TRACE|DEBUG|INFO|WARN|ERROR|FATAL)\s+\[([\w\+\-\.@\\]*\s*)\]\s\[([\w\s]+)\]\s([\w\.\`]+)\s+-\s</string> | |
<key>name</key> | |
<string>comment.line.log4net</string> | |
</dict> | |
</array> | |
<key>scopeName</key> | |
<string>source.log4net</string> | |
<key>uuid</key> | |
<string>2be013b9-e0ed-4599-9f6c-10ec27b6bbb5</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment