internal static void LogMessage(CTag tag, CLogLevel level, string message, string stackTrace) { for (int i = 0; i < logDelegates.Count; ++i) { logDelegates[i](level, tag, message, stackTrace); } }
private static void Register(CLogLevel level) { if (m_lookup == null) { m_lookup = new Dictionary <string, CLogLevel>(); } m_lookup[level.ShortName] = level; }
private static bool ShouldLogLevel(CLogLevel level) { return(level == null || Level != null && level.Priority >= Level.Priority); }
internal static void LogMessage(CTag tag, CLogLevel level, string message) { LogMessage(tag, level, message, CStackTrace.ExtractStackTrace(3)); }