Webmasters, gagnez de l'argent en affichant des bannières contextuelles Oxado
SourceForge.net Logo
Support This Project
   LeCouteauSuisse Project
Welcome ! [ Home ]  ·  [ Downloads ]  ·  [ Forums ]  ·  [ News ]  ·  [ Documentations ]  
[ Home ]

[ Documentations ]

EventLogger


This logger send information into the Windows event logs. You can choose the name of your journal.

See Service Configuration for detailled information to configure your service. You must declare this logger with the <logger> section inside the <loggers> section. It will looks like :

<logger name="MyLoggerName" type="LeCouteauSuisse.Components.EventLogger, 
		LeCouteauSuisseComponents, Version=1.0.0.2, Culture=neutral, PublicKeyToken=8d1037c5df6d5bd0">
This component have some parameters inside the section <settings>. Each parameter is written with a <setting> section.

Key nameMandatoryDefault valueDescription
journalNoThe name of your serviceThe name of the log the source's entries are written to. Possible values include: Application, System, or a custom event log.
sourceNoThe name of your serviceThe source name by which the application is registered on the local computer.
createIfNotExistNotrueCreate the source and the journal if it does not exist on the computer.
filterLevelNoAllFilter message to log by level. List of value from the LoggerLevel enumeration separated by a comma.


LeCouteauSuisse