Show / Hide Table of Contents

Interface ILogTarget

Defines the interface for receiving logs.

Inherited Members
System.IDisposable.Dispose()
Namespace: Experior.Interfaces
Assembly: Experior.Interfaces.dll
Syntax
public interface ILogTarget : IDisposable

Properties

Active

Target active or not

Declaration
bool Active { get; }
Property Value
Type Description
System.Boolean

Enabled

Enabled/disabled

Declaration
bool Enabled { get; set; }
Property Value
Type Description
System.Boolean

LoggerId

LoggerId (must be system unique).

Declaration
string LoggerId { get; }
Property Value
Type Description
System.String

LoggerLocation

A description of log target location.

Declaration
string LoggerLocation { get; }
Property Value
Type Description
System.String

Methods

ClearLog()

Clear logs (optional)

Declaration
void ClearLog()

Close()

Open/close

Declaration
void Close()

Log(ILog)

Receive log

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

Log(List<ILog>)

Receive logs

Declaration
void Log(List<ILog> logs)
Parameters
Type Name Description
System.Collections.Generic.List<ILog> logs

Open()

Open/close

Declaration
void Open()
Back to top Generated by DocFX