tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.ModLoader.Logging Class Reference

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 = Path.Combine(Program.SavePath, "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 More...
 

Property Documentation

◆ PublicLogger

ILog Terraria.ModLoader.Logging.PublicLogger = LogManager.GetLogger("PublicLogger")
staticget

Available for logging when Mod.Logging is not available, such as field initialization