mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-27 12:35:28 +00:00
remove debug logs
This commit is contained in:
parent
b9281e05d3
commit
c51fc20627
20
QSB/QSB.cs
20
QSB/QSB.cs
@ -37,26 +37,6 @@ namespace QSB
|
|||||||
ModBehaviour = this;
|
ModBehaviour = this;
|
||||||
|
|
||||||
LogFilter.currentLogLevel = LogFilter.Debug;
|
LogFilter.currentLogLevel = LogFilter.Debug;
|
||||||
|
|
||||||
// Application.logMessageReceived += Application_logMessageReceived;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Application_logMessageReceived(string condition, string stackTrace, LogType type)
|
|
||||||
{
|
|
||||||
switch (type)
|
|
||||||
{
|
|
||||||
case LogType.Assert:
|
|
||||||
DebugLog.DebugWrite($"Assert - {condition}", MessageType.Message);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case LogType.Log:
|
|
||||||
DebugLog.DebugWrite($"Log - {condition}", MessageType.Message);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case LogType.Warning:
|
|
||||||
DebugLog.DebugWrite($"Warning - {condition}", MessageType.Warning);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user