@@ -18,51 +18,101 @@ public static void Fatal(this INHibernateLogger logger, Exception exception, str
18
18
logger . Log ( InternalLogLevel . Fatal , new InternalLogValues ( format , args ) , exception ) ;
19
19
}
20
20
21
+ public static void Fatal ( this INHibernateLogger logger , Exception exception , string format )
22
+ {
23
+ logger . Log ( InternalLogLevel . Fatal , new InternalLogValues ( format , null ) , exception ) ;
24
+ }
25
+
21
26
public static void Fatal ( this INHibernateLogger logger , string format , params object [ ] args )
22
27
{
23
28
logger . Log ( InternalLogLevel . Fatal , new InternalLogValues ( format , args ) , null ) ;
24
29
}
25
30
31
+ public static void Fatal ( this INHibernateLogger logger , string format )
32
+ {
33
+ logger . Log ( InternalLogLevel . Fatal , new InternalLogValues ( format , null ) , null ) ;
34
+ }
35
+
26
36
public static void Error ( this INHibernateLogger logger , Exception exception , string format , params object [ ] args )
27
37
{
28
38
logger . Log ( InternalLogLevel . Error , new InternalLogValues ( format , args ) , exception ) ;
29
39
}
30
40
41
+ public static void Error ( this INHibernateLogger logger , Exception exception , string format )
42
+ {
43
+ logger . Log ( InternalLogLevel . Error , new InternalLogValues ( format , null ) , exception ) ;
44
+ }
45
+
31
46
public static void Error ( this INHibernateLogger logger , string format , params object [ ] args )
32
47
{
33
48
logger . Log ( InternalLogLevel . Error , new InternalLogValues ( format , args ) , null ) ;
34
49
}
35
50
51
+ public static void Error ( this INHibernateLogger logger , string format )
52
+ {
53
+ logger . Log ( InternalLogLevel . Error , new InternalLogValues ( format , null ) , null ) ;
54
+ }
55
+
36
56
public static void Warn ( this INHibernateLogger logger , Exception exception , string format , params object [ ] args )
37
57
{
38
58
logger . Log ( InternalLogLevel . Warn , new InternalLogValues ( format , args ) , exception ) ;
39
59
}
40
60
61
+ public static void Warn ( this INHibernateLogger logger , Exception exception , string format )
62
+ {
63
+ logger . Log ( InternalLogLevel . Warn , new InternalLogValues ( format , null ) , exception ) ;
64
+ }
65
+
41
66
public static void Warn ( this INHibernateLogger logger , string format , params object [ ] args )
42
67
{
43
68
logger . Log ( InternalLogLevel . Warn , new InternalLogValues ( format , args ) , null ) ;
44
69
}
45
70
71
+ public static void Warn ( this INHibernateLogger logger , string format )
72
+ {
73
+ logger . Log ( InternalLogLevel . Warn , new InternalLogValues ( format , null ) , null ) ;
74
+ }
75
+
46
76
public static void Info ( this INHibernateLogger logger , Exception exception , string format , params object [ ] args )
47
77
{
48
78
logger . Log ( InternalLogLevel . Info , new InternalLogValues ( format , args ) , exception ) ;
49
79
}
50
80
81
+ public static void Info ( this INHibernateLogger logger , Exception exception , string format )
82
+ {
83
+ logger . Log ( InternalLogLevel . Info , new InternalLogValues ( format , null ) , exception ) ;
84
+ }
85
+
51
86
public static void Info ( this INHibernateLogger logger , string format , params object [ ] args )
52
87
{
53
88
logger . Log ( InternalLogLevel . Info , new InternalLogValues ( format , args ) , null ) ;
54
89
}
55
90
91
+ public static void Info ( this INHibernateLogger logger , string format )
92
+ {
93
+ logger . Log ( InternalLogLevel . Info , new InternalLogValues ( format , null ) , null ) ;
94
+ }
95
+
56
96
public static void Debug ( this INHibernateLogger logger , Exception exception , string format , params object [ ] args )
57
97
{
58
98
logger . Log ( InternalLogLevel . Debug , new InternalLogValues ( format , args ) , exception ) ;
59
99
}
60
100
101
+ public static void Debug ( this INHibernateLogger logger , Exception exception , string format )
102
+ {
103
+ logger . Log ( InternalLogLevel . Debug , new InternalLogValues ( format , null ) , exception ) ;
104
+ }
105
+
61
106
public static void Debug ( this INHibernateLogger logger , string format , params object [ ] args )
62
107
{
63
108
logger . Log ( InternalLogLevel . Debug , new InternalLogValues ( format , args ) , null ) ;
64
109
}
65
110
111
+ public static void Debug ( this INHibernateLogger logger , string format )
112
+ {
113
+ logger . Log ( InternalLogLevel . Debug , new InternalLogValues ( format , null ) , null ) ;
114
+ }
115
+
66
116
67
117
// catch any method calls with an Exception argument second as they would otherwise silently be consumed by `params object[] args`.
68
118
@@ -101,4 +151,4 @@ private static void ThrowNotImplemented()
101
151
throw new NotImplementedException ( "Should not have compiled with call to this method" ) ;
102
152
}
103
153
}
104
- }
154
+ }
0 commit comments