[This is preliminary documentation and is subject to change.]

Central logging class. Logs to file, relays messages to the frontend, submits crash reports.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)

Syntax

   
 C# 
public static class Logger

Members

               
 All Members  Fields   Properties   Methods   Events  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
ConsoleOptions
Crashed
Occurs when the server "crashes" (has an unhandled exception). Note that such occurences will not always cause shutdowns - check ShutdownImminent property. Reporting of the crash may be suppressed.
CurrentLogFileName
Enabled
GetPrefix(LogType)
Log(LogType, String)
Log(LogType, String, array<Object>[]()[][])
LogAndReportCrash(String, String, Exception, Boolean)
LogFileOptions
Logged
Occurs after a message has been logged.
LogToConsole(String)
Logs a message of type ConsoleOutput, strips colors, and splits into multiple messages at newlines. Use this method for all messages of LogType.ConsoleOutput
SplittingType

Inheritance Hierarchy

System..::..Object
  fCraft..::..Logger

See Also