public void WriteDiagnostic(AwesomeLog infoToLog)
        {
            if (!_writeDiagnostics)
            {
                return;
            }

            _diagnosticLogger.Write(LogEventLevel.Information, "{@FlogDetail}", infoToLog);
        }
 public void WriteError(AwesomeLog infoToLog)
 {
     if (infoToLog.Exception != null)
     {
         var procName = FindProcName(infoToLog.Exception);
         infoToLog.Location = string.IsNullOrEmpty(procName) ? infoToLog.Location : procName;
         infoToLog.Message  = GetMessageFromException(infoToLog.Exception);
     }
     _errorLogger.Write(LogEventLevel.Error, "{@FlogDetail}", infoToLog);
 }
 public void WriteWarning(AwesomeLog infoToLog)
 {
     _warningLogger.Write(LogEventLevel.Warning, "{@FlogDetail}", infoToLog);
 }
 public void WriteUsage(AwesomeLog infoToLog)
 {
     _usageLogger.Write(LogEventLevel.Information, "{@FlogDetail}", infoToLog);
 }
 public void WritePerf(AwesomeLog infoToLog)
 {
     _perfLogger.Write(LogEventLevel.Information, "{@FlogDetail}", infoToLog);
 }