public void AssertIf(bool condition) { if (!condition || LogMode != DebugLogMode.None) { return; } LogMode = DebugLogMode.Assertion; }
public void ErrorIf(bool condition) { if (!condition || LogMode != DebugLogMode.None) { return; } LogMode = DebugLogMode.Error; }
public void WarnIf(bool condition) { if (!condition || LogMode != DebugLogMode.None) { return; } LogMode = DebugLogMode.Warning; }
public DebugStringBuilder(DebugLogMode logMode = DebugLogMode.None) { m_Content = new StringBuilder(); LogMode = logMode; }
public DebugStringBuilder(string message, DebugLogMode logMode = DebugLogMode.None) { m_Content = new StringBuilder(message); LogMode = logMode; }