Beispiel #1
0
        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");
        }
Beispiel #2
0
 /// <summary>
 /// Log Warn Message
 /// </summary>
 /// <param name="message">Message</param>
 public void Warn(string message)
 {
     _logger.Warn(message);
 }