public void Render(IList <Func <object, IFormatProvider, object> > formattingFuncs, string paramsText, StringBuilder stringBuilder, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { }
/// <inheritdoc /> public override string ToString(IList <Func <object, IFormatProvider, object> > formattingFuncs, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(formattingFuncs.ToFormat(System.Environment.UserName, formatProvider)); }
/// <inheritdoc /> public override void Render(IList <Func <object, IFormatProvider, object> > formattingFuncs, string paramsText, StringBuilder stringBuilder, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { stringBuilder.Append(ToString(formattingFuncs, paramsText, logEventInfo, formatProvider)); }
/// <inheritdoc /> public override string ToString(string format, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(FixedEventId(logEventInfo)); }
/// <inheritdoc /> public override string ToString(IList <Func <object, IFormatProvider, object> > formattingFuncs, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(formattingFuncs.ToFormat(GetProcessorCount(), formatProvider)); }
public override string ToString(IList <FormatEvent> formattingEvents, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(formattingEvents.ToFormat(System.Environment.MachineName, formatProvider)); }
public override string ToString(string format, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(GetPagedSystemMemorySize(format, paramsText)); }
/// <inheritdoc /> public override string ToString(IList <Func <object, IFormatProvider, object> > formattingFuncs, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(formattingFuncs.ToFormat(FixedMemberName(logEventInfo), formatProvider)); }
/// <inheritdoc /> public override string ToString(string format, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(GetStartFileName()); }
/// <summary> /// Get file path /// </summary> /// <param name="logEventInfo"></param> /// <returns></returns> public string GetFilePath(ILogEventInfo logEventInfo) { return(System.IO.Path.Combine(GetRealBasePath(), GetRealTargetPath(logEventInfo))); }
private static string FixedMemberName(ILogEventInfo logEventInfo = null) { return(logEventInfo?.CallerInfo.MemberName ?? string.Empty); }
/// <inheritdoc /> public override string ToString(IList <FormatEvent> formattingEvents, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(formattingEvents.ToFormat(GetPagedMemorySize(null, paramsText), formatProvider)); }
public string ToString(IList <FormatEvent> formattingEvents, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) => string.Empty;
public string ToString(string format, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) => string.Empty;
/// <inheritdoc /> public abstract string ToString(IList <Func <object, IFormatProvider, object> > formattingFuncs, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null);
/// <inheritdoc /> public override string ToString(string format, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(GetOsStandardVersion()); }
/// <inheritdoc /> public virtual void Render(IList <FormatEvent> formattingEvents, string paramsText, StringBuilder stringBuilder, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { stringBuilder.Append(ToString(formattingEvents, paramsText, logEventInfo, formatProvider)); }
/// <inheritdoc /> public override string ToString(IList <FormatEvent> formattingEvents, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(formattingEvents.ToFormat(GetOsStandardVersion(), formatProvider)); }
public override string ToString(IList <FormatEvent> formattingEvents, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(formattingEvents.ToFormat(GetUserProcessorTime(paramsText), formatProvider)); }
public override string ToString(string format, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(GetWorkingDirectory()); }
public override string ToString(IList <Func <object, IFormatProvider, object> > formattingFuncs, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(formattingFuncs.ToFormat(GetPagedSystemMemorySize(null, paramsText), formatProvider)); }
public override string ToString(IList <FormatEvent> formattingEvents, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(formattingEvents.ToFormat(GetWorkingDirectory(), formatProvider)); }
/// <inheritdoc /> public override string ToString(string format, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(GetProcessorCount()); }
/// <inheritdoc /> public override string ToString(string format, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(GetProcessStartTime(format, paramsText)); }
/// <inheritdoc /> public override string ToString(string format, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(System.Environment.UserName); }
/// <inheritdoc /> public abstract string ToString(string format, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null);
/// <inheritdoc /> public override void Render(string format, string paramsText, StringBuilder stringBuilder, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { stringBuilder.Append(ToString(format, paramsText, logEventInfo, formatProvider)); }
/// <inheritdoc /> public abstract string ToString(IList <FormatEvent> formattingEvents, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null);
public override string ToString(IList <FormatEvent> formattingEvents, string paramsText, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { return(formattingEvents.ToFormat(Content, formatProvider)); }
public void Render(IList <FormatEvent> formattingEvents, string paramsText, StringBuilder stringBuilder, ILogEventInfo logEventInfo = null, IFormatProvider formatProvider = null) { }