private void Log(string msg) { if (_logCount >= 1000) { return; } #if CODE_ANALYSIS MozConsole.Log(_logCount++ + ": " + msg); #endif }
public static bool TryCatch(Exception e, string name) { MozConsole.Warn(e.Message); throw e; }