A simple static class to keep track of a global debug level setting for dialogue system log messages.
More...
|
const string | Prefix = "Dialogue System" |
| Dialogue system log messages are prefixed with this string. More...
|
|
A simple static class to keep track of a global debug level setting for dialogue system log messages.
The DialogueManager / DialogueSystemController sets Level. You can also set it manually. This class doesn't provide any wrappers for Debug.Log() because they would intercept the reference point that the editor goes to when you double-click the log message in the console window.
◆ DebugLevel
The debug levels.
- None: Don't log anything.
- Error: Only log critical errors.
- Warning: Log warnings and errors.
- Info: Log trace information, warnings, and errors.
Enumerator |
---|
None | |
Error | |
Warning | |
Info | |
◆ Prefix
const string PixelCrushers.DialogueSystem.DialogueDebug.Prefix = "Dialogue System" |
|
static |
Dialogue system log messages are prefixed with this string.
◆ Level
DebugLevel PixelCrushers.DialogueSystem.DialogueDebug.Level |
|
staticgetset |
The current global debug level.
The level.
◆ LogErrors
bool PixelCrushers.DialogueSystem.DialogueDebug.LogErrors |
|
staticget |
Should the dialogue system log critical errors?
true
to log errors; otherwise, false
.
◆ LogInfo
bool PixelCrushers.DialogueSystem.DialogueDebug.LogInfo |
|
staticget |
Should the dialogue system log trace information?
true
if it should log trace info, warnings, and errors; otherwise, false
.
◆ LogWarnings
bool PixelCrushers.DialogueSystem.DialogueDebug.LogWarnings |
|
staticget |
Should the dialogue system log warnings and trace info?
true
to log warnings and errors; otherwise, false
.
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Source/Assets/Dialogue System/Scripts/Core/Tools/DialogueDebug.cs