public string Translate(LogItem logItem) { return(logItem.Exception == null ? string.Empty : Environment.NewLine + logItem.Exception.StackTrace); }
public string Translate(LogItem logItem) { return(logItem.Exception == null ? string.Empty : "[" + logItem.Exception.GetType().ToTypeNameOnly() + "] " + logItem.Exception.Message); }
public string Translate(LogItem logItem) { return(logItem.LogLevel.ToString()); }
public string Translate(LogItem logItem) { return(logItem.Thread); }
public string Translate(LogItem logItem) { return(logItem.TimeStamp.ToString()); }