Пример #1
0
 public string FormatMessage(LogEventArgs args)
 {
     return(string.Format("[{0}] {1}{2}", args.Date.ToString("hh:mm:ss tt", CultureInfo), LogTypeHelper.ToString(args.LogType), args.Message));
 }
Пример #2
0
 public string FormatMessage(LogEventArgs args)
 {
     return(string.Format("{0}{1}", LogTypeHelper.ToString(args.LogType), args.Message));
 }