Exemple #1
0
        static void Main(string[] args)
        {
            InitializeServices();

            _consoleLogger.LogDebug("Debug line 8-)");
            _consoleLogger.LogInformation("Information line :D");
            _consoleLogger.LogError("Error line :'( ");

            Console.WriteLine("Press enter to exit");
            Console.ReadLine();
        }
Exemple #2
0
 public string Summary()
 {
     logger.LogInformation($"{number} - LOGGER {Make}");
     return(car.Summary());
 }