Skip to content

Commit

Permalink
Changed color for PROMPT log level
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Apr 27, 2018
1 parent 164b031 commit bc45344
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/AnalysisPrograms/log4net.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

<log4net>

<level>
<name value="PROMPT" />
<value value="150000" />
</level>

<root>
<!-- possible values for logging levels: ALL DEBUG INFO WARN ERROR FATAL OFF -->
<!-- This value is modified at run time based on command line arguments -->
Expand Down Expand Up @@ -48,6 +53,11 @@
<loggerToMatch value="LogFileOnly" />
<acceptOnMatch value="false" />
</filter>
<mapping>
<!-- Our custom 'PROMPT' level-->
<level value="PROMPT" />
<foreColor value="Magenta" />
</mapping>
<mapping>
<level value="FATAL" />
<foreColor value="Red" />
Expand Down Expand Up @@ -94,6 +104,11 @@
<!-- only accept LoggedConsole logs -->
<acceptOnMatch value="true" />
</filter>
<mapping>
<!-- Our custom 'PROMPT' level-->
<level value="PROMPT" />
<foreColor value="Magenta" />
</mapping>
<mapping>
<level value="FATAL" />
<foreColor value="Red" />
Expand Down

0 comments on commit bc45344

Please sign in to comment.