Files
portaloggy/code/portaloggy.Tester/Program.cs
masiton c29513079f
Some checks failed
Pack and Push NuGet Package / publish (push) Failing after 45s
Removed obsolete comment and solution file added to reference the build steps.
2025-07-01 19:45:48 +02:00

17 lines
587 B
C#

namespace portaloggy.Tester
{
internal class Program
{
static void Main(string[] args)
{
var logger = new ConsoleLogger() { IsTraceOutputEnabled = true };
logger.Info("Hello World!");
logger.Warning("This is a warning.");
logger.Error("This is an error without any exception.");
logger.Error("This is an error with exception.", new ArgumentException("Exception message."));
logger.Debug("This is a debug message.");
logger.Trace("This is a trace message.");
}
}
}