Table of Contents

Interface IPluginLogger

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

Writes to the client's own log on the plugin's behalf. Lines are tagged with the plugin so a user can tell whose message they are reading.

public interface IPluginLogger

Methods

Error(string, Exception?)

Records a failure, optionally with the exception that caused it.

void Error(string message, Exception? exception = null)

Parameters

message string
exception Exception

Info(string)

Records an ordinary informational line.

void Info(string message)

Parameters

message string

Warn(string)

Records something that went wrong but did not stop the plugin.

void Warn(string message)

Parameters

message string