8000 GitHub - yvef/log2log: Just a simple Logger
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yvef/log2log

Repository files navigation

Log2log is a logger for .Net Framework

Please, add this settings in your App/Web.config:

<configSections>
    <section name="log2log" type="log2log.Configuration.LogConfigSection, log2log "/>
</configSections>

<log2log>
    <settings>
      <setting name="log2log" path="Log\LogFile.txt" levelFilter="false"/>
    </settings>
</log2log>


Name is just a name of logger.
Path is the path of create a .log file with/without subdirectory (By default, the .log is creates in the main directory of project)
LevelFilter is enables or disables filtering by level. (Now is not available)

using log2log;

// Create a logger instance
ILoggerClient logger = LogManager.GetCurrentLogInstance();
logger.Info("Log info");

About

Just a simple Logger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0