S9SourceNine Labs / CMAPI Docs 1.0
CMAPI / API reference

IMonitor

Writes messages attributed to the current mod.

View source ↗
CMAPI 1.0.0Standalone runtimeWindows x64Tested with Planet Crafter 2.008
Namespace CMAPIInterfaceAssembly CMAPI.API.dll
public interface IMonitor

Writes messages attributed to the current mod.

Members

Log

method
void Log(string message, LogLevel level = LogLevel.Info)

Writes a message at the specified severity.

Info

method
void Info(string message)

Writes a normal informational message.

Warning

method
void Warning(string message)

Writes a warning about a recoverable or suspicious condition.

Error

method
void Error(string message)

Writes an error describing a failed operation.

Debug

method
void Debug(string message)

Writes diagnostic information intended primarily for development.