Skip to content

2bdb025a 1a67 180e 008d 0f787897f129

Axel Kesseler edited this page Mar 1, 2023 · 8 revisions

IStreamLogger Interface

This interface represents a concretization of the general logging interface.

Namespace: Plexdata.LogWriter.Abstraction
Assembly: Plexdata.LogWriter.Stream (in Plexdata.LogWriter.Stream.dll) Version: 1.0.7.1

Syntax

C#

public interface IStreamLogger : ILogger, 
	IDisposable

The IStreamLogger type exposes the following members.

Properties

 

Name Description
Public property IsDisabled Determines if logging is disabled or not. (Inherited from ILogger.)
Public property IsDisposed Determines whether this instance has been disposed.
  Back to Top

Methods

 

Name Description
Public method BeginScope(TScope) Begins a logical operation scope. (Inherited from ILogger.)
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method IsEnabled Determines if a particular logging level is enabled. (Inherited from ILogger.)
Public method Write(LogLevel, Exception) This method writes the exception into the logging target using provided logging level. (Inherited from ILogger.)
Public method Write(LogLevel, String) This method writes the message into the logging target using provided logging level. (Inherited from ILogger.)
Public method Write(LogLevel, Exception, ValueTuple(String, Object)[]) This method writes the exception into the logging target using provided logging level. (Inherited from ILogger.)
Public method Write(LogLevel, String, Exception) This method writes the message as well as the exception into the logging target using provided logging level. (Inherited from ILogger.)
Public method Write(LogLevel, String, ValueTuple(String, Object)[]) This method writes the message into the logging target using provided logging level. (Inherited from ILogger.)
Public method Write(LogLevel, String, Exception, ValueTuple(String, Object)[]) This method writes the message as well as the exception into the logging target using provided logging level. (Inherited from ILogger.)
Public method Write(TScope)(TScope, LogLevel, Exception) This method writes the exception for provided scope into the logging target using provided logging level. (Inherited from ILogger.)
Public method Write(TScope)(TScope, LogLevel, String) This method writes the message for provided scope into the logging target using provided logging level. (Inherited from ILogger.)
Public method Write(TScope)(TScope, LogLevel, Exception, ValueTuple(String, Object)[]) This method writes the exception for provided scope into the logging target using provided logging level. (Inherited from ILogger.)
Public method Write(TScope)(TScope, LogLevel, String, Exception) This method writes the message as well as the exception for provided scope into the logging target using provided logging level. (Inherited from ILogger.)
Public method Write(TScope)(TScope, LogLevel, String, ValueTuple(String, Object)[]) This method writes the message for provided scope into the logging target using provided logging level. (Inherited from ILogger.)
Public method Write(TScope)(TScope, LogLevel, String, Exception, ValueTuple(String, Object)[]) This method writes the message as well as the exception for provided scope into the logging target using provided logging level. (Inherited from ILogger.)
  Back to Top

Extension Methods

 

Name Description
Public Extension Method Critical(String) Overloaded.
This method writes the message into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Critical(Exception) Overloaded.
This method writes the exception into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Critical(String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Critical(Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Critical(String, Exception) Overloaded.
This method writes the message and the exception into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Critical(String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Critical(TScope)(TScope, String) Overloaded.
This method writes the message for provided scope into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Critical(TScope)(TScope, Exception) Overloaded.
This method writes the exception for provided scope into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Critical(TScope)(TScope, String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message for provided scope into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Critical(TScope)(TScope, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception for provided scope into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Critical(TScope)(TScope, String, Exception) Overloaded.
This method writes the message and the exception for provided scope into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Critical(TScope)(TScope, String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception for provided scope into the logger using Critical as logging level. (Defined by LogLevelCriticalExtension.)
Public Extension Method Debug(String) Overloaded.
This method writes the message into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Debug(Exception) Overloaded.
This method writes the exception into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Debug(String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Debug(Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Debug(String, Exception) Overloaded.
This method writes the message and the exception into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Debug(String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Debug(TScope)(TScope, String) Overloaded.
This method writes the message for provided scope into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Debug(TScope)(TScope, Exception) Overloaded.
This method writes the exception for provided scope into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Debug(TScope)(TScope, String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message for provided scope into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Debug(TScope)(TScope, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception for provided scope into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Debug(TScope)(TScope, String, Exception) Overloaded.
This method writes the message and the exception for provided scope into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Debug(TScope)(TScope, String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception for provided scope into the logger using Debug as logging level. (Defined by LogLevelDebugExtension.)
Public Extension Method Disaster(String) Overloaded.
This method writes the message into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Disaster(Exception) Overloaded.
This method writes the exception into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Disaster(String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Disaster(Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Disaster(String, Exception) Overloaded.
This method writes the message and the exception into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Disaster(String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Disaster(TScope)(TScope, String) Overloaded.
This method writes the message for provided scope into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Disaster(TScope)(TScope, Exception) Overloaded.
This method writes the exception for provided scope into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Disaster(TScope)(TScope, String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message for provided scope into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Disaster(TScope)(TScope, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception for provided scope into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Disaster(TScope)(TScope, String, Exception) Overloaded.
This method writes the message and the exception for provided scope into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Disaster(TScope)(TScope, String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception for provided scope into the logger using Disaster as logging level. (Defined by LogLevelDisasterExtension.)
Public Extension Method Error(String) Overloaded.
This method writes the message into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Error(Exception) Overloaded.
This method writes the exception into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Error(String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Error(Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Error(String, Exception) Overloaded.
This method writes the message and the exception into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Error(String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Error(TScope)(TScope, String) Overloaded.
This method writes the message for provided scope into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Error(TScope)(TScope, Exception) Overloaded.
This method writes the exception for provided scope into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Error(TScope)(TScope, String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message for provided scope into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Error(TScope)(TScope, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception for provided scope into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Error(TScope)(TScope, String, Exception) Overloaded.
This method writes the message and the exception for provided scope into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Error(TScope)(TScope, String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception for provided scope into the logger using Error as logging level. (Defined by LogLevelErrorExtension.)
Public Extension Method Fatal(String) Overloaded.
This method writes the message into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Fatal(Exception) Overloaded.
This method writes the exception into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Fatal(String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Fatal(Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Fatal(String, Exception) Overloaded.
This method writes the message and the exception into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Fatal(String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Fatal(TScope)(TScope, String) Overloaded.
This method writes the message for provided scope into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Fatal(TScope)(TScope, Exception) Overloaded.
This method writes the exception for provided scope into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Fatal(TScope)(TScope, String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message for provided scope into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Fatal(TScope)(TScope, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception for provided scope into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Fatal(TScope)(TScope, String, Exception) Overloaded.
This method writes the message and the exception for provided scope into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Fatal(TScope)(TScope, String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception for provided scope into the logger using Fatal as logging level. (Defined by LogLevelFatalExtension.)
Public Extension Method Message(String) Overloaded.
This method writes the message into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method Message(Exception) Overloaded.
This method writes the exception into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method Message(String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method Message(Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method Message(String, Exception) Overloaded.
This method writes the message and the exception into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method Message(String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method Message(TScope)(TScope, String) Overloaded.
This method writes the message for provided scope into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method Message(TScope)(TScope, Exception) Overloaded.
This method writes the exception for provided scope into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method Message(TScope)(TScope, String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message for provided scope into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method Message(TScope)(TScope, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception for provided scope into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method Message(TScope)(TScope, String, Exception) Overloaded.
This method writes the message and the exception for provided scope into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method Message(TScope)(TScope, String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception for provided scope into the logger using Message as logging level. (Defined by LogLevelMessageExtension.)
Public Extension Method SafeDispose Ensures a safe object disposal. (Defined by DisposableExtension.)
Public Extension Method Trace(String) Overloaded.
This method writes the message into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Trace(Exception) Overloaded.
This method writes the exception into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Trace(String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Trace(Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Trace(String, Exception) Overloaded.
This method writes the message and the exception into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Trace(String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Trace(TScope)(TScope, String) Overloaded.
This method writes the message for provided scope into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Trace(TScope)(TScope, Exception) Overloaded.
This method writes the exception for provided scope into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Trace(TScope)(TScope, String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message for provided scope into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Trace(TScope)(TScope, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception for provided scope into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Trace(TScope)(TScope, String, Exception) Overloaded.
This method writes the message and the exception for provided scope into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Trace(TScope)(TScope, String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception for provided scope into the logger using Trace as logging level. (Defined by LogLevelTraceExtension.)
Public Extension Method Verbose(String) Overloaded.
This method writes the message into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Verbose(Exception) Overloaded.
This method writes the exception into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Verbose(String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Verbose(Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Verbose(String, Exception) Overloaded.
This method writes the message and the exception into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Verbose(String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Verbose(TScope)(TScope, String) Overloaded.
This method writes the message for provided scope into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Verbose(TScope)(TScope, Exception) Overloaded.
This method writes the exception for provided scope into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Verbose(TScope)(TScope, String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message for provided scope into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Verbose(TScope)(TScope, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception for provided scope into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Verbose(TScope)(TScope, String, Exception) Overloaded.
This method writes the message and the exception for provided scope into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Verbose(TScope)(TScope, String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception for provided scope into the logger using Verbose as logging level. (Defined by LogLevelVerboseExtension.)
Public Extension Method Warning(String) Overloaded.
This method writes the message into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
Public Extension Method Warning(Exception) Overloaded.
This method writes the exception into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
Public Extension Method Warning(String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
Public Extension Method Warning(Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
Public Extension Method Warning(String, Exception) Overloaded.
This method writes the message and the exception into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
Public Extension Method Warning(String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
Public Extension Method Warning(TScope)(TScope, String) Overloaded.
This method writes the message for provided scope into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
Public Extension Method Warning(TScope)(TScope, Exception) Overloaded.
This method writes the exception for provided scope into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
Public Extension Method Warning(TScope)(TScope, String, ValueTuple(String, Object)[]) Overloaded.
This method writes the message for provided scope into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
Public Extension Method Warning(TScope)(TScope, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the exception for provided scope into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
Public Extension Method Warning(TScope)(TScope, String, Exception) Overloaded.
This method writes the message and the exception for provided scope into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
Public Extension Method Warning(TScope)(TScope, String, Exception, ValueTuple(String, Object)[]) Overloaded.
This method writes the message and the exception for provided scope into the logger using Warning as logging level. (Defined by LogLevelWarningExtension.)
  Back to Top

Remarks

The interface is derived from interface ILogger and is used especially for stream logging.

See Also

Reference

Plexdata.LogWriter.Abstraction Namespace

Clone this wiki locally