C# Class CK.Core.ActivityMonitorSenderExtension

Provides OpenXXX and XXX (Trace, Info,...Fatal) extension methods for IActivityMonitor.
Datei anzeigen Open project: Invenietis/ck-core

Public Methods

Method Description
Error ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorLineSender

Filters LogLevel.Error logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.

Fatal ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorLineSender

Filters LogLevel.Fatal logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.

Info ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorLineSender

Filters LogLevel.Info logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.

OpenError ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorGroupSender

Filtered LogLevel.Error group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.

OpenFatal ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorGroupSender

Filtered LogLevel.Fatal group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.

OpenInfo ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorGroupSender

Filtered LogLevel.Info group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.

OpenTrace ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorGroupSender

Filtered LogLevel.Trace group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.

OpenWarn ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorGroupSender

Filtered LogLevel.Warn group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.

Trace ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorLineSender

Filters LogLevel.Trace logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.

Warn ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorLineSender

Filters LogLevel.Warn logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.

Private Methods

Method Description
FilterLogLine ( this @this, LogLevel level, string fileName, int lineNumber ) : IActivityMonitorLineSender

Private method used by XXX (Trace, Info,..., Fatal) extension methods.

FilteredGroup ( IActivityMonitor @this, LogLevel level, string fileName, int lineNumber ) : IActivityMonitorGroupSender

Private method used by OpenXXX (Trace, Info,..., Fatal) extension methods.

Method Details

Error() static public method

Filters LogLevel.Error logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
static public Error ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorLineSender
@this this
lineNumber [ Line number in the source file (automatically injected by C# compiler).
fileName [ Source file name of the emitter (automatically injected by C# compiler).
return IActivityMonitorLineSender

Fatal() static public method

Filters LogLevel.Fatal logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
static public Fatal ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorLineSender
@this this
lineNumber [ Line number in the source file (automatically injected by C# compiler).
fileName [ Source file name of the emitter (automatically injected by C# compiler).
return IActivityMonitorLineSender

Info() static public method

Filters LogLevel.Info logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
static public Info ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorLineSender
@this this
lineNumber [ Line number in the source file (automatically injected by C# compiler).
fileName [ Source file name of the emitter (automatically injected by C# compiler).
return IActivityMonitorLineSender

OpenError() static public method

Filtered LogLevel.Error group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
static public OpenError ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorGroupSender
@this this
lineNumber [ Line number in the source file (automatically injected by C# compiler).
fileName [ Source file name of the emitter (automatically injected by C# compiler).
return IActivityMonitorGroupSender

OpenFatal() static public method

Filtered LogLevel.Fatal group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
static public OpenFatal ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorGroupSender
@this this
lineNumber [ Line number in the source file (automatically injected by C# compiler).
fileName [ Source file name of the emitter (automatically injected by C# compiler).
return IActivityMonitorGroupSender

OpenInfo() static public method

Filtered LogLevel.Info group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
static public OpenInfo ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorGroupSender
@this this
lineNumber [ Line number in the source file (automatically injected by C# compiler).
fileName [ Source file name of the emitter (automatically injected by C# compiler).
return IActivityMonitorGroupSender

OpenTrace() static public method

Filtered LogLevel.Trace group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
static public OpenTrace ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorGroupSender
@this this
lineNumber [ Line number in the source file (automatically injected by C# compiler).
fileName [ Source file name of the emitter (automatically injected by C# compiler).
return IActivityMonitorGroupSender

OpenWarn() static public method

Filtered LogLevel.Warn group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
static public OpenWarn ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorGroupSender
@this this
lineNumber [ Line number in the source file (automatically injected by C# compiler).
fileName [ Source file name of the emitter (automatically injected by C# compiler).
return IActivityMonitorGroupSender

Trace() static public method

Filters LogLevel.Trace logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
static public Trace ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorLineSender
@this this
lineNumber [ Line number in the source file (automatically injected by C# compiler).
fileName [ Source file name of the emitter (automatically injected by C# compiler).
return IActivityMonitorLineSender

Warn() static public method

Filters LogLevel.Warn logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
static public Warn ( this @this, [ lineNumber, [ fileName = null ) : IActivityMonitorLineSender
@this this
lineNumber [ Line number in the source file (automatically injected by C# compiler).
fileName [ Source file name of the emitter (automatically injected by C# compiler).
return IActivityMonitorLineSender