Class CustomLogger

Logs to the debugger console and to a file.

Inheritance
System.Object
CustomLogger
Implements
Namespace: Catalog
Assembly: Catalog.dll
Syntax
public class CustomLogger : object, ICustomLogger

Constructors

CustomLogger(CancellationToken)

Declaration
public CustomLogger(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken

Methods

Critical(String, String)

Declaration
public void Critical(string tag, string message)
Parameters
Type Name Description
System.String tag
System.String message

Debug(String, String)

Declaration
public void Debug(string tag, string message)
Parameters
Type Name Description
System.String tag
System.String message

Error(String, String)

Declaration
public void Error(string tag, string message)
Parameters
Type Name Description
System.String tag
System.String message

Info(String, String)

Declaration
public void Info(string tag, string message)
Parameters
Type Name Description
System.String tag
System.String message

LogQueueToFile()

Declaration
public void LogQueueToFile()

Trace(String, String)

Declaration
public void Trace(string tag, string message)
Parameters
Type Name Description
System.String tag
System.String message

Warn(String, String)

Declaration
public void Warn(string tag, string message)
Parameters
Type Name Description
System.String tag
System.String message

Implements

ICustomLogger