Esempio n. 1
0
        internal static void LogIt(FlogDetail logEntry, string endpoint)
        {
            switch (endpoint)
            {
            case "Performance":
                Flogger.WritePerf(logEntry);
                break;

            case "Diagnostic":
                Flogger.WriteDiagnostic(logEntry);
                break;

            case "Error":
                Flogger.WriteError(logEntry);
                break;

            default:
                return;
            }
        }
Esempio n. 2
0
 public void Write([FromBody] FlogDetail logEntry)
 {
     Flogger.WritePerf(logEntry);
 }