tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
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, private set] |
Static Private Member Functions | |
static void | AddChatMessage (string msg, Color color) |
static bool | CanOpen (string fileName) |
static void | ConfigureAppenders () |
static void | EnablePortablePDBTraces () |
static void | FirstChanceExceptionHandler (object sender, FirstChanceExceptionEventArgs args) |
static string | GetNewLogFile (string baseName) |
static void | LogFirstChanceExceptions () |
Static Private Attributes | |
static ThreadLocal< bool > | handlerActive = new ThreadLocal<bool>(() => false) |
static List< string > | ignoreContents |
static List< string > | ignoreMessages |
static HashSet< string > | ignoreSources |
static List< string > | ignoreThrowingMethods |
static List< string > | initWarnings = new List<string>() |
static HashSet< string > | pastExceptions = new HashSet<string>() |
static Exception | previousException |
static Regex | statusRegex = new Regex(@"(.+?)[: \d]*%$") |
static readonly Assembly | TerrariaAssembly = Assembly.GetExecutingAssembly() |
Definition at line 23 of file Logging.cs.
|
staticprivate |
Definition at line 256 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.FirstChanceExceptionHandler().
|
staticprivate |
Definition at line 128 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.GetNewLogFile().
|
staticprivate |
Definition at line 68 of file Logging.cs.
References Terraria.ModLoader.Logging.GetNewLogFile(), Terraria.ModLoader.Logging.LogDir, and Terraria.ModLoader.Logging.LogPath.
|
staticprivate |
Definition at line 320 of file Logging.cs.
References Terraria.ModLoader.FrameworkVersion.Framework, and Terraria.ModLoader.FrameworkVersion.Version.
|
staticprivate |
Definition at line 188 of file Logging.cs.
References Terraria.ModLoader.Logging.AddChatMessage(), Terraria.ModLoader.Console, Terraria.ModLoader.Environment, Terraria.ModLoader.Logging.handlerActive, Terraria.ModLoader.Logging.ignoreContents, Terraria.ModLoader.Logging.ignoreMessages, Terraria.ModLoader.Logging.ignoreSources, Terraria.ModLoader.Logging.ignoreThrowingMethods, Terraria.ModLoader.Logging.LogPath, Terraria.ModLoader.Logging.pastExceptions, Terraria.ModLoader.Logging.PrettifyStackTraceSources(), and Terraria.ModLoader.Logging.previousException.
Referenced by Terraria.ModLoader.Logging.LogFirstChanceExceptions().
|
staticprivate |
Definition at line 99 of file Logging.cs.
References Terraria.ModLoader.Logging.CanOpen(), Terraria.ModLoader.Logging.initWarnings, and Terraria.ModLoader.Logging.LogDir.
Referenced by Terraria.ModLoader.Logging.ConfigureAppenders().
|
static |
Definition at line 181 of file Logging.cs.
References Terraria.ModLoader.Logging.ignoreContents.
|
static |
|
staticprivate |
Definition at line 138 of file Logging.cs.
References Terraria.ModLoader.Logging.FirstChanceExceptionHandler(), and Terraria.ModLoader.FrameworkVersion.Framework.
|
static |
Definition at line 294 of file Logging.cs.
References Terraria.ModLoader.Logging.TerrariaAssembly.
Referenced by Terraria.ModLoader.Logging.FirstChanceExceptionHandler().
|
staticprivate |
Definition at line 186 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.FirstChanceExceptionHandler().
|
staticprivate |
Definition at line 153 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.FirstChanceExceptionHandler(), and Terraria.ModLoader.Logging.IgnoreExceptionContents().
|
staticprivate |
Definition at line 166 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.FirstChanceExceptionHandler().
|
staticprivate |
Definition at line 148 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.FirstChanceExceptionHandler().
|
staticprivate |
Definition at line 176 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.FirstChanceExceptionHandler().
|
staticprivate |
Definition at line 38 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.GetNewLogFile().
|
static |
Definition at line 26 of file Logging.cs.
|
static |
Definition at line 25 of file Logging.cs.
Referenced by Terraria.ModLoader.ErrorLogger.ClearLogs(), Terraria.ModLoader.Logging.ConfigureAppenders(), and Terraria.ModLoader.Logging.GetNewLogFile().
|
staticprivate |
Definition at line 145 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.FirstChanceExceptionHandler().
|
staticprivate |
Definition at line 187 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.FirstChanceExceptionHandler().
|
staticprivate |
Definition at line 266 of file Logging.cs.
|
staticprivate |
Definition at line 292 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.PrettifyStackTraceSources().
|
staticgetprivate set |
Definition at line 27 of file Logging.cs.
Referenced by Terraria.ModLoader.Logging.ConfigureAppenders(), and Terraria.ModLoader.Logging.FirstChanceExceptionHandler().