예제 #1
0
        public TException Write <TException>(LogEventLevel level, TException exception)
            where TException : Exception
        {
            if (exception == null)
            {
                throw SelfLogger.Fatal.ArgumentNull(nameof(exception));
            }

            InnerLogger.Write(
                level,
                exception,
                "Throwing exception",
                new Object[0]
                );

            return(exception);
        }