BclExtras.Logger.LogCore C# (CSharp) Метод

LogCore() приватный статический Метод

private static LogCore ( LogItemType type, string category, string message, Exception ex ) : void
type LogItemType
category string
message string
ex System.Exception
Результат void
        private static void LogCore(LogItemType type, string category, string message, Exception ex)
        {
            if (null == category)
            {
                category = LogItemCategory.Default;
            }

            Contract.ThrowIfNullOrEmpty(message);
            Log(new LogItem(type, category, message, ex), ex);
        }