public void LogEntry(Exception exception) { string message = "Exception : " + exception.Message; message += " - StackTrace : " + exception.StackTrace; AlphaMosaik.Logger.LogEntry entry = new AlphaMosaik.Logger.LogEntry(message, LogEntryLevel.Error); logger.WriteEntry(entry); }
public void LogEntry(string message, LogEntryLevel level) { AlphaMosaik.Logger.LogEntry entry = new AlphaMosaik.Logger.LogEntry(message, level); logger.WriteEntry(entry); }
public void LogEntry(string message) { AlphaMosaik.Logger.LogEntry entry = new AlphaMosaik.Logger.LogEntry(message, LogEntryLevel.Information); logger.WriteEntry(entry); }