Example #1
0
 public static LogMessage Create <TArg0, TArg1, TArg2, TArg3>(
     Func <TArg0, TArg1, TArg2, TArg3, string> messageGetter,
     TArg0 arg0,
     TArg1 arg1,
     TArg2 arg2,
     TArg3 arg3
     ) =>
 LazyLogMessage <TArg0, TArg1, TArg2, TArg3> .Construct(
     messageGetter,
     arg0,
     arg1,
     arg2,
     arg3
     );
Example #2
0
 public static LogMessage Create <TArg>(Func <TArg, string> messageGetter, TArg arg) =>
 LazyLogMessage <TArg> .Construct(messageGetter, arg);
Example #3
0
 public static LogMessage Create <TArg0, TArg1>(
     Func <TArg0, TArg1, string> messageGetter,
     TArg0 arg0,
     TArg1 arg1
     ) => LazyLogMessage <TArg0, TArg1> .Construct(messageGetter, arg0, arg1);
Example #4
0
 public static LogMessage Create(Func <string> messageGetter) =>
 LazyLogMessage.Construct(messageGetter);
Example #5
0
 public static LogMessage Create <TArg0, TArg1, TArg2>(Func <TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2)
 {
     return(LazyLogMessage <TArg0, TArg1, TArg2> .Construct(messageGetter, arg0, arg1, arg2));
 }
Example #6
0
 public static LogMessage Create(Func <string> messageGetter)
 {
     return(LazyLogMessage.Construct(messageGetter));
 }
Example #7
0
 public static LogMessage Create <TArg0, TArg1, TArg2>(Func <TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, LogLevel logLevel)
 => LazyLogMessage <TArg0, TArg1, TArg2> .Construct(messageGetter, arg0, arg1, arg2, logLevel);
Example #8
0
 public static LogMessage Create(Func <string> messageGetter, LogLevel logLevel)
 => LazyLogMessage.Construct(messageGetter, logLevel);