static void Main(string[] args) { _log.Debug("Debug message"); _log.Info("Info message"); _log.Warn("Warn message"); _log.Error("Error message"); _log.Flush(); Console.WriteLine("Done"); }