[This is preliminary documentation and is subject to change.]
Adds a message to the server log.
Depending on server configuration and log category, message can be shown in console, logged to file, both, or neither.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
[StringFormatMethodAttribute("message")] public static void Log( LogType type, string message, params Object[] args )
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | Message or args is null. |
| System..::..FormatException | String.Format rejected formatting. |