LogEntityDefaultConsole
From MARIEWiki
[edit]
Description
This log entity permit to display the log at the console with a mariePattern.
[edit]
Configuration
Note : see Configuration Description Language for syntax details.
! T logEntity # KV name # KV type = LogEntityDefaultConsole o KV protocolID o KV minlevel o KV conversionPattern
- name : Specify a name for the logEntity create. This name is also used for the name of log4cxx logger create.
- type : Specify the type of logEntity used : LogEntityDefaultConsole
- protocolID : Specify the protocol desired when you log DataAbstract : MARIETAB,MARIEPRETTY,MARIEXML. (MARIETAB by default)
- minlevel : Specify the level minimum wanted to journalize your log : all, debug, info, warn, error, fatal. (warn by default)
- conversionPattern : Structure of the log, used a mariePattern ([%T] [%-5p] [%c] %15d{%X.%Q} | %m%n by default) (see: pattern)
[edit]
Example
<logEntity elem="type">
<name elem="kv">MyLogEntity</name>
<type elem="kv">LogEntityDefaultConsole</type>
<protocolID elem="kv">MARIEPRETTY</protocolID>
<minLevel elem="kv">info</minLevel>
<conversionPattern elem="kv">[%T] | %m%n</conversionPattern>
</logEntity>

