[This is preliminary documentation and is subject to change.]
Central logging class. Logs to file, relays messages to the frontend, submits crash reports.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.2.4 (0.6.2.4)
Syntax
| C# |
public static class Logger
Members
| All Members | Fields | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| CheckForCommonErrors(Exception) | ||
| 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 | ||
| EventTraceNotifier(Int32, EventArgs) | ||
| 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) | ||
| SplittingType |