Example #1
0
 public static ILog NewLog(string message, LogType logType = LogType.Info, DateTime?dateTime = null)
 {
     if (dateTime.HasValue)
     {
         return(InternalLog.New(message, logType, dateTime.Value));
     }
     else
     {
         return(InternalLog.New(message, logType));
     }
 }