tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.ModLoader.Logging Class Reference

Public Types

enum  LogFile { Client , Server , TerrariaSteamClient }
 

Static Public Member Functions

static void IgnoreExceptionContents (string source)
 
static void IgnoreExceptionSource (string source)
 
static void PrettifyStackTraceSources (StackFrame[] frames)
 

Static Public Attributes

static readonly string LogArchiveDir = Path.Combine(LogDir, "Old")
 
static readonly string LogDir = "tModLoader-Logs"
 

Properties

static string LogPath [get]
 
static ILog PublicLogger = LogManager.GetLogger("PublicLogger") [get]
 Available for logging when Mod.Logging is not available, such as field initialization