Skip to content

red-owl-games/Log

Repository files navigation

🪵 Log

Logging Library for C# applications and libraries.


RedOwl.Log

📦 Installation

dotnet add package RedOwl.Log

🌱 Usage

ILogger logger = new Logger();
logger.Level = LogLevel.Warn;
// By default the `Logger` instance will automatically write to the console
logger.AddFileSink("./path/to/file.log"); // Additionally write logs to a file

logger.Print("hello world!"); // Will always log
logger.Info("This is information"); // Will not log due to log level settings
logger.Warn("This is a warning");
logger.Error("This is an error");

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages