Beispiel #1
0
        public void LoggerWithExtensions()
        {
            var logger = new AppLoggerSerilog(GetLoggerConfig("serilogs-with-extensions\\log-{Date}.log"), new[]
            {
                new LoggerExtension()
            });

            logger.Info("Using extensions");
        }
Beispiel #2
0
        public void LoggerDefaultConfig()
        {
            var logger = new AppLoggerSerilog();

            logger.Info("Using default conf");
        }