Interface ILoggingService
Inherited Members
System.IDisposable.Dispose()
Assembly: Experior.Interfaces.dll
Syntax
public interface ILoggingService : ILogger, IDisposable
Properties
Settings
Declaration
ILoggingSettings Settings { get; }
Property Value
Methods
AddSeparator()
Declaration
ClearLog()
Clears the log targets that support clearing.
Declaration
GetLogger(String)
Declaration
ILogTarget GetLogger(string targetId)
Parameters
Type |
Name |
Description |
System.String |
targetId |
|
Returns
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
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 |
|
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
Exceptions
Type |
Condition |
System.ArgumentNullException |
|
System.ArgumentException |
|
System.Exception |
|
Unsubscribe(ILogTarget)
Unsubscribe from receiving logs.
Declaration
void Unsubscribe(ILogTarget logTarget)
Parameters
Exceptions
Type |
Condition |
System.ArgumentNullException |
|