-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a36b699
commit e96ddb6
Showing
3 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
FinModelUtility/Games/HaloWars/KSoft/KSoft.Phoenix/Debug/Trace.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using System; | ||
using Diag = System.Diagnostics; | ||
|
||
namespace KSoft.Phoenix.Debug | ||
{ | ||
/// <summary>Utility class for tracing assembly logic (or lack thereof)</summary> | ||
internal static class Trace | ||
{ | ||
static Diag.TraceSource kPhoenixSource | ||
, kEngineSource | ||
, kResourceSource | ||
, kSecuritySource | ||
, kTriggerSystemSource | ||
, kXmlSource | ||
; | ||
|
||
static Trace() | ||
{ | ||
kPhoenixSource = new Diag.TraceSource("KSoft.Phoenix", Diag.SourceLevels.All); | ||
kEngineSource = new Diag.TraceSource("KSoft.Phoenix.Engine", Diag.SourceLevels.All); | ||
kResourceSource = new Diag.TraceSource("KSoft.Phoenix.Resource", Diag.SourceLevels.All); | ||
kSecuritySource = new Diag.TraceSource("KSoft.Security", Diag.SourceLevels.All); | ||
kTriggerSystemSource = new Diag.TraceSource("KSoft.Phoenix.Triggers", Diag.SourceLevels.All); | ||
kXmlSource = new Diag.TraceSource("KSoft.Phoenix.XML", Diag.SourceLevels.All); | ||
} | ||
|
||
/// <summary>Tracer for the <see cref="KSoft.Phoenix"/> namespace</summary> | ||
public static Diag.TraceSource Phoenix { get { return kPhoenixSource; } } | ||
/// <summary>Tracer for the <see cref="KSoft.Phoenix.Engine"/> namespace</summary> | ||
public static Diag.TraceSource Engine { get { return kEngineSource; } } | ||
/// <summary>Tracer for the <see cref="KSoft.Phoenix.Resource"/> namespace</summary> | ||
public static Diag.TraceSource Resource { get { return kResourceSource; } } | ||
/// <summary>Tracer for the <see cref="KSoft.Security"/> namespace</summary> | ||
public static Diag.TraceSource Security { get { return kSecuritySource; } } | ||
/// <summary>Tracer for the Trigger System related code</summary> | ||
public static Diag.TraceSource TriggerSystem{ get { return kTriggerSystemSource; } } | ||
/// <summary>Tracer for the <see cref="KSoft.Phoenix.XML"/> namespace</summary> | ||
public static Diag.TraceSource XML { get { return kXmlSource; } } | ||
}; | ||
} |
24 changes: 24 additions & 0 deletions
24
FinModelUtility/Games/HaloWars/KSoft/KSoft.Wwise/Debug/Trace.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using Diag = System.Diagnostics; | ||
|
||
namespace KSoft.Wwise.Debug | ||
{ | ||
/// <summary>Utility class for tracing assembly logic (or lack thereof)</summary> | ||
internal static class Trace | ||
{ | ||
static Diag.TraceSource kWwiseSource | ||
, kFilePackageSource | ||
; | ||
|
||
static Trace() | ||
{ | ||
kWwiseSource = new Diag.TraceSource("KSoft.Wwise", Diag.SourceLevels.All); | ||
kFilePackageSource = new Diag.TraceSource("KSoft.Wwise.FilePackage", Diag.SourceLevels.All); | ||
} | ||
|
||
/// <summary>Tracer for the <see cref="KSoft.Wwise"/> namespace</summary> | ||
public static Diag.TraceSource Wwise { get { return kWwiseSource; } } | ||
/// <summary>Tracer for the <see cref="KSoft.Wwise.FilePackage"/> namespace</summary> | ||
public static Diag.TraceSource FilePackage { get { return kFilePackageSource; } } | ||
}; | ||
} |