public static void GlobalLog(CultureStringsBase message, MessageType messageType = MessageType.Default, IEnumerable <Object> formatList = null, ConsoleColor?messageColor = null, Int32 priority = 0, MessageAdditions messageAdditions = MessageAdditions.None) { LogMessage logMessage = new LogMessage(message, messageType, formatList, messageColor, priority, messageAdditions); GlobalMessages.Add(logMessage); GlobalLogged?.Invoke(logMessage); }
public static void GlobalLog(LogMessage logMessage) { GlobalMessages.Add(logMessage); GlobalLogged?.Invoke(logMessage); }