static void Main(string[] args) { log.Info(1, "Application [" + System.Reflection.Assembly.GetEntryAssembly().GetName().Name + "] Start"); log.Warn(40, "This is a warn message "); log.Info(2, "Application [" + System.Reflection.Assembly.GetEntryAssembly().GetName().Name + "] Stop"); }
/// <summary> /// Log Warn Message /// </summary> /// <param name="message">Message</param> public void Warn(string message) { _logger.Warn(message); }