示例#1
0
        public static void PLogInformation <T1, T2, T3, T4, T5, T6>(this ILogger logger, string format, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
        {
            var message  = new OptimisedLoggingMessage(logger);
            var pmessage = message.Define <T1, T2, T3, T4, T5, T6>(LogLevel.Information, 6, format);

            pmessage(logger, arg1, arg2, arg3, arg4, arg5, arg6, null);
        }
示例#2
0
        public static void PLogInformation <T1, T2, T3>(this ILogger logger, string format, T1 arg1, T2 arg2, T3 arg3)
        {
            var message  = new OptimisedLoggingMessage(logger);
            var pmessage = message.Define <T1, T2, T3>(LogLevel.Information, 3, format);

            pmessage(logger, arg1, arg2, arg3, null);
        }