Skip to main content

MainMenuPlayerLogger

A class in Root.Township, the global namespace.

IMainMenuLogger that shows errors to the local player as red on-screen messages. Info messages are ignored. Client.

Constructors​

MemberWhat it is
MainMenuPlayerLogger()Creates a MainMenuPlayerLogger with default values.

Methods​

MemberWhat it is
void Error(string errorMessage)Shows the error text in red on the local player's message display.
void Error(Exception exception, string errorMessage)Shows the error text in red on the local player's message display.
void Info(string logMessage)Does nothing.