Skip to content

Instantly share code, notes, and snippets.

@joex92
Forked from mmdemirbas/LogFile.udl.xml
Last active June 29, 2023 15:08
Show Gist options
  • Save joex92/b1648b62f15a9b58ac1fa761fd46dd2d to your computer and use it in GitHub Desktop.
Save joex92/b1648b62f15a9b58ac1fa761fd46dd2d to your computer and use it in GitHub Desktop.
Custom log file syntax highlightings for Notepad++ by @foreachthing (Dark Theme) & @mmdemirbas (Light Theme)
<NotepadPlus>
<UserLang name="LogFile (Dark Theme)" ext="log">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="no" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">[(0])0</Keywords>
<Keywords name="Folder+"></Keywords>
<Keywords name="Folder-"></Keywords>
<Keywords name="Operators">&apos; - ! &quot; # $ % &amp; ( ) * , . / : ; ? @ [ \ ] ^ _ ` { | } ~ + &lt; = &gt;</Keywords>
<Keywords name="Comment">1 2 0</Keywords>
<Keywords name="Words1">ERROR</Keywords>
<Keywords name="Words2">WARN WARNING</Keywords>
<Keywords name="Words3">DEBUG</Keywords>
<Keywords name="Words4">INFO</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="DCDCCC" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="DCDCCC" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="DCDCCC" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="FFFFFF" bgColor="FF0000" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="FFFFFF" bgColor="FF8000" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="FFFFFF" bgColor="FF80FF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="FFFFFF" bgColor="0080FF" fontName="" fontStyle="2" />
<WordsStyle name="COMMENT" styleID="1" fgColor="DCDCCC" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="DCDCCC" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="DCDCCC" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="DCDCCC" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="1" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="F08C00" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="2" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="DCDCCC" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="FF7480" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="1" />
</Styles>
</UserLang>
</NotepadPlus>
<NotepadPlus>
<UserLang name="LogFile (Light Theme)" ext="log">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="no" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">[(0])0</Keywords>
<Keywords name="Folder+"></Keywords>
<Keywords name="Folder-"></Keywords>
<Keywords name="Operators">&apos; - ! &quot; # $ % &amp; ( ) * , . / : ; ? @ [ \ ] ^ _ ` { | } ~ + &lt; = &gt;</Keywords>
<Keywords name="Comment">1 2 0</Keywords>
<Keywords name="Words1">ERROR</Keywords>
<Keywords name="Words2">WARN WARNING</Keywords>
<Keywords name="Words3">DEBUG</Keywords>
<Keywords name="Words4">INFO</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="FFFFFF" bgColor="FF0000" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="FFFFFF" bgColor="FF8000" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="FFFFFF" bgColor="FF80FF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="FFFFFF" bgColor="0080FF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="FF0080" bgColor="FFFFFF" fontName="" fontStyle="1" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFBF" fontName="" fontStyle="1" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="2" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
</NotepadPlus>
@TFWol
Copy link

TFWol commented Nov 23, 2022

Thanks for putting light and dark together for easy switching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment