Beispiel #1
0
        internal static void Write(LogLevel level, string message, params object[] args)
        {
            LogConfiguration configuration = GlobalSettings.LogConfiguration;

            if (!IsEnabled(configuration, level))
            {
                return;
            }

            configuration.Handler(level, string.Format(message, args));
        }