tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
NOTE: This class is deprecated. Use Logging instead (see ExampleMod for example) This class consists of functions that write error messages to text files for you to read. It also lets you write logs to text files. More...
Static Public Member Functions | |
static void | ClearLogs () |
NOTE: Deprecated. Deletes all log files. More... | |
static void | Log (object param, bool alternateOutput=false) |
NOTE: Deprecated. Please use your own ILog instead, see ExampleMod for an example Allows you to log an object for your own testing purposes. The message will be added to the Logs.txt file in the Logs folder. More... | |
static void | Log (string message) |
NOTE: Deprecated. Please use your own ILog instead, see ExampleMod for an example You can use this method for your own testing purposes. The message will be added to the Logs.txt file in the Logs folder. More... | |
Static Public Attributes | |
static readonly string | LogPath = Logging.LogDir |
NOTE: Deprecated. Use Logging.LogDir instead The file path to which logs are written and stored. More... | |
Static Private Attributes | |
static Object | logLock = new Object() |
NOTE: This class is deprecated. Use Logging instead (see ExampleMod for example) This class consists of functions that write error messages to text files for you to read. It also lets you write logs to text files.
Definition at line 15 of file ErrorLogger.cs.
|
static |
NOTE: Deprecated. Deletes all log files.
Definition at line 81 of file ErrorLogger.cs.
References Terraria.ModLoader.Logging.LogDir, Terraria.ModLoader.ErrorLogger.logLock, and Terraria.ModLoader.ErrorLogger.LogPath.
|
static |
NOTE: Deprecated. Please use your own ILog instead, see ExampleMod for an example Allows you to log an object for your own testing purposes. The message will be added to the Logs.txt file in the Logs folder.
param | The object to be logged. |
alternateOutput | If true, the object's data will be manually retrieved and logged. If false, the object's ToString method is logged. |
Definition at line 47 of file ErrorLogger.cs.
References Terraria.ModLoader.ErrorLogger.Log().
|
static |
NOTE: Deprecated. Please use your own ILog instead, see ExampleMod for an example You can use this method for your own testing purposes. The message will be added to the Logs.txt file in the Logs folder.
Definition at line 30 of file ErrorLogger.cs.
References Terraria.ModLoader.ModLoader.GetMod().
Referenced by Terraria.ModLoader.ErrorLogger.Log().
|
staticprivate |
Definition at line 24 of file ErrorLogger.cs.
Referenced by Terraria.ModLoader.ErrorLogger.ClearLogs().
|
static |
NOTE: Deprecated. Use Logging.LogDir instead The file path to which logs are written and stored.
Definition at line 22 of file ErrorLogger.cs.
Referenced by Terraria.ModLoader.ErrorLogger.ClearLogs().