Ejemplo n.º 1
0
 private static void PostMessage()
 {
     if (openOnMessage)
     {
         TryOpenLogWindow();
         EditWindow_Log.SelectLastMessage(expandDetailsPane: true);
     }
 }
Ejemplo n.º 2
0
 private static void PostMessage()
 {
     if (Log.openOnMessage)
     {
         Log.TryOpenLogWindow();
         EditWindow_Log.SelectLastMessage(true);
     }
     Log.messageCount++;
     if (Log.messageCount == 1000 && Log.ReachedMaxMessagesLimit)
     {
         Log.Warning("Reached max messages limit. Stopping logging to avoid spam.", true);
     }
 }
Ejemplo n.º 3
0
 private static void PostMessage()
 {
     if (openOnMessage)
     {
         TryOpenLogWindow();
         EditWindow_Log.SelectLastMessage(expandDetailsPane: true);
     }
     messageCount++;
     if (messageCount == 1000 && ReachedMaxMessagesLimit)
     {
         Warning("Reached max messages limit. Stopping logging to avoid spam.", ignoreStopLoggingLimit: true);
     }
 }