Table of Contents

Interface ILogger

Namespace
Playnite.SDK
Assembly
Playnite.SDK.dll

Describes logger object used to write message into log file.

public interface ILogger

Methods

Debug(Exception, string)

Writes message to log with Debug severity, including parsed exception.

void Debug(Exception exception, string message)

Parameters

exception Exception

Message to be added into log.

message string

Exception to be added into log.

Debug(string)

Writes message to log with Debug severity.

void Debug(string message)

Parameters

message string

Message to be added into log.

Error(Exception, string)

Writes message to log with Error severity, including parsed exception.

void Error(Exception exception, string message)

Parameters

exception Exception

Message to be added into log.

message string

Exception to be added into log.

Error(string)

Writes message to log with Error severity.

void Error(string message)

Parameters

message string

Message to be added into log.

Info(Exception, string)

Writes message to log with Info severity, including parsed exception.

void Info(Exception exception, string message)

Parameters

exception Exception

Message to be added into log.

message string

Exception to be added into log.

Info(string)

Writes message to log with Info severity.

void Info(string message)

Parameters

message string

Message to be added into log.

Trace(Exception, string)

Writes message to log with Trace severity, including parsed exception.

void Trace(Exception exception, string message)

Parameters

exception Exception

Message to be added into log.

message string

Exception to be added into log.

Trace(string)

Writes message to log with Trace severity.

void Trace(string message)

Parameters

message string

Message to be added into log.

Warn(Exception, string)

Writes message to log with Warning severity, including parsed exception.

void Warn(Exception exception, string message)

Parameters

exception Exception

Message to be added into log.

message string

Exception to be added into log.

Warn(string)

Writes message to log with Warning severity.

void Warn(string message)

Parameters

message string

Message to be added into log.