Show / Hide Table of Contents

Interface ILogger

Namespace: Experior.Interfaces
Assembly: Experior.Interfaces.dll
Syntax
public interface ILogger

Methods

Action<T>(T)

Writes a specific Action filter type message to the active log view and logfile if enabled. The message is color-defined by the type of message.

Declaration
void Action<T>(T message)
Parameters
Type Name Description
T message
Type Parameters
Name Description
T

Communication<T>(T)

Writes a specific Communication filter type message to the active log view and logfile if enabled. The message is color-defined by the type of message.

Declaration
void Communication<T>(T message)
Parameters
Type Name Description
T message
Type Parameters
Name Description
T

Debug<T>(T)

Writes a specific Debug filter type message to the active log view and logfile if enabled. The message is color-defined by the type of message.

Declaration
void Debug<T>(T message)
Parameters
Type Name Description
T message
Type Parameters
Name Description
T

Error<T>(T)

Writes a specific Error filter type message to the active log view and logfile if enabled. The message is color-defined by the type of message.

Declaration
void Error<T>(T message)
Parameters
Type Name Description
T message
Type Parameters
Name Description
T

Exception<T>(T)

Writes a error categorized exception message to the active log view as well as the debug log file. The message is colored using the applicable color-map.

Declaration
void Exception<T>(T exception)
    where T : Exception
Parameters
Type Name Description
T exception

Exception to log

Type Parameters
Name Description
T

Exception<T>(T, Object)

Writes a error categorized exception message to the active log view as well as the debug log file. The message is colored using the applicable color-map.

Declaration
void Exception<T>(T exception, object context)
    where T : Exception
Parameters
Type Name Description
T exception

Exception to log

System.Object context

Context

Type Parameters
Name Description
T

Information<T>(T)

Writes a specific Information filter type message to the active log view and logfile if enabled. The message is color-defined by the type of message.

Declaration
void Information<T>(T message)
Parameters
Type Name Description
T message
Type Parameters
Name Description
T

System<T>(T)

Writes a specific System filter type message to the active log view and logfile if enabled. The message is color-defined by the type of message.

Declaration
void System<T>(T message)
Parameters
Type Name Description
T message
Type Parameters
Name Description
T

Warning<T>(T)

Writes a specific Warning filter type message to the active log view and logfile if enabled. The message is color-defined by the type of message.

Declaration
void Warning<T>(T message)
Parameters
Type Name Description
T message
Type Parameters
Name Description
T
Back to top Generated by DocFX