// Token: 0x06000411 RID: 1041 RVA: 0x0001D984 File Offset: 0x0001BB84 public static void Error(string message, string info = null) { O9KException ex = new O9KException(message); if (!string.IsNullOrEmpty(info)) { ex.Data["Info"] = info; } ParticleLogger.CaptureException(ex, Assembly.GetCallingAssembly()); }
public static void Error(string message, string info = null, ErrorLevel level = ErrorLevel.Debug) { var exception = new O9KException(message); if (!string.IsNullOrEmpty(info)) { exception.Data["Info"] = info; } CaptureException(exception, Assembly.GetCallingAssembly(), level); }
// Token: 0x0600041E RID: 1054 RVA: 0x0001DB4C File Offset: 0x0001BD4C public static void Log(string message, string info = null) { if (Game.ExpectedPlayers == 1 || Game.IsCustomGame || Game.GameMode == GameMode.Demo) { return; } O9KException ex = new O9KException(message); if (!string.IsNullOrEmpty(info)) { ex.Data["Info"] = info; } GameExceptionData gameExceptionData = new GameExceptionData(); if (string.IsNullOrEmpty(gameExceptionData.Hero)) { return; } ex.Data["Game"] = gameExceptionData; StatsLogger.Client.Client.Logger = Assembly.GetCallingAssembly().GetName().Name; StatsLogger.Client.CaptureAsync(ex); }