a light log tools
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Ivony.Logs.Aws
Ivony.Logs.Test
Ivony.Logs
TestConsole
packages
.gitattributes
.gitignore
LICENSE.txt
LogUtility.sln
README.md

README.md

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!" );