Skip to content

Ivony/LogUtility

Repository files navigation

LogUtility

a light log tools

how to use?

show me log in console:

var logger = new ConsoleLogger()
logger.Info( "Hello World!" );

show me log in console and write to file:

var logger = new ConsoleLogger() + new TextFileLogger( filepath )
logger.Info( "Hello World!" );

show me log in console and write to files and auto rolling new log file:

var logger = new ConsoleLogger() + new TextFileLogger( new DirectoryInfo( directory ) )
logger.Info( "Hello World!" );

Releases

No releases published

Packages

No packages published

Languages