Show / Hide Table of Contents

Interface ILoggingService

Inherited Members
ILogger.Debug<T>(T)
ILogger.Information<T>(T)
ILogger.Action<T>(T)
ILogger.Communication<T>(T)
ILogger.System<T>(T)
ILogger.Warning<T>(T)
ILogger.Error<T>(T)
ILogger.Exception<T>(T)
ILogger.Exception<T>(T, Object)
System.IDisposable.Dispose()
Namespace: Experior.Interfaces
Assembly: Experior.Interfaces.dll
Syntax
public interface ILoggingService : ILogger, IDisposable

Properties

Settings

Declaration
ILoggingSettings Settings { get; }
Property Value
Type Description
ILoggingSettings

Methods

AddSeparator()

Declaration
void AddSeparator()

ClearLog()

Clears the log targets that support clearing.

Declaration
void ClearLog()

GetLogger(String)

Declaration
ILogTarget GetLogger(string targetId)
Parameters
Type Name Description
System.String targetId
Returns
Type Description
ILogTarget

IsSubscribed(String)

Determine if loggerid is already used.

Declaration
bool IsSubscribed(string loggerId)
Parameters
Type Name Description
System.String loggerId
Returns
Type Description
System.Boolean

Log(ILog)

Declaration
void Log(ILog log)
Parameters
Type Name Description
ILog log

Log(String, LogFilter)

Declaration
void Log(string message, LogFilter filter)
Parameters
Type Name Description
System.String message
LogFilter filter

Log(String, LogFilter, Color)

Declaration
void Log(string message, LogFilter filter, Color color)
Parameters
Type Name Description
System.String message
LogFilter filter
System.Windows.Media.Color color

Subscribe(ILogTarget)

Subscribe to receive logs.

Declaration
void Subscribe(ILogTarget logger)
Parameters
Type Name Description
ILogTarget logger
Exceptions
Type Condition
System.ArgumentNullException
System.ArgumentException
System.Exception

Unsubscribe(ILogTarget)

Unsubscribe from receiving logs.

Declaration
void Unsubscribe(ILogTarget logTarget)
Parameters
Type Name Description
ILogTarget logTarget
Exceptions
Type Condition
System.ArgumentNullException
Back to top Generated by DocFX