Skip to content

Commit 0989176

Browse files
committed
Add missing ILogger methods
1 parent c9f5c7c commit 0989176

File tree

1 file changed

+305
-0
lines changed

1 file changed

+305
-0
lines changed

test/Serilog.Sinks.File.Tests/Support/DisposableLogger.cs

Lines changed: 305 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public void Dispose()
1414
Disposed = true;
1515
}
1616

17+
public ILogger ForContext(ILogEventEnricher enricher)
18+
{
19+
throw new NotImplementedException();
20+
}
21+
1722
public ILogger ForContext(IEnumerable<ILogEventEnricher> enrichers)
1823
{
1924
throw new NotImplementedException();
@@ -39,11 +44,54 @@ public void Write(LogEvent logEvent)
3944
throw new NotImplementedException();
4045
}
4146

47+
public void Write(LogEventLevel level, string messageTemplate)
48+
{
49+
throw new NotImplementedException();
50+
}
51+
52+
public void Write<T>(LogEventLevel level, string messageTemplate, T propertyValue)
53+
{
54+
throw new NotImplementedException();
55+
}
56+
57+
public void Write<T0, T1>(LogEventLevel level, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
58+
{
59+
throw new NotImplementedException();
60+
}
61+
62+
public void Write<T0, T1, T2>(LogEventLevel level, string messageTemplate, T0 propertyValue0, T1 propertyValue1,
63+
T2 propertyValue2)
64+
{
65+
throw new NotImplementedException();
66+
}
67+
4268
public void Write(LogEventLevel level, string messageTemplate, params object[] propertyValues)
4369
{
4470
throw new NotImplementedException();
4571
}
4672

73+
public void Write(LogEventLevel level, Exception exception, string messageTemplate)
74+
{
75+
throw new NotImplementedException();
76+
}
77+
78+
public void Write<T>(LogEventLevel level, Exception exception, string messageTemplate, T propertyValue)
79+
{
80+
throw new NotImplementedException();
81+
}
82+
83+
public void Write<T0, T1>(LogEventLevel level, Exception exception, string messageTemplate, T0 propertyValue0,
84+
T1 propertyValue1)
85+
{
86+
throw new NotImplementedException();
87+
}
88+
89+
public void Write<T0, T1, T2>(LogEventLevel level, Exception exception, string messageTemplate, T0 propertyValue0,
90+
T1 propertyValue1, T2 propertyValue2)
91+
{
92+
throw new NotImplementedException();
93+
}
94+
4795
public void Write(LogEventLevel level, Exception exception, string messageTemplate, params object[] propertyValues)
4896
{
4997
throw new NotImplementedException();
@@ -54,64 +102,321 @@ public bool IsEnabled(LogEventLevel level)
54102
throw new NotImplementedException();
55103
}
56104

105+
public void Verbose(string messageTemplate)
106+
{
107+
throw new NotImplementedException();
108+
}
109+
110+
public void Verbose<T>(string messageTemplate, T propertyValue)
111+
{
112+
throw new NotImplementedException();
113+
}
114+
115+
public void Verbose<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
116+
{
117+
throw new NotImplementedException();
118+
}
119+
120+
public void Verbose<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
121+
{
122+
throw new NotImplementedException();
123+
}
124+
57125
public void Verbose(string messageTemplate, params object[] propertyValues)
58126
{
59127
throw new NotImplementedException();
60128
}
61129

130+
public void Verbose(Exception exception, string messageTemplate)
131+
{
132+
throw new NotImplementedException();
133+
}
134+
135+
public void Verbose<T>(Exception exception, string messageTemplate, T propertyValue)
136+
{
137+
throw new NotImplementedException();
138+
}
139+
140+
public void Verbose<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
141+
{
142+
throw new NotImplementedException();
143+
}
144+
145+
public void Verbose<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1,
146+
T2 propertyValue2)
147+
{
148+
throw new NotImplementedException();
149+
}
150+
62151
public void Verbose(Exception exception, string messageTemplate, params object[] propertyValues)
63152
{
64153
throw new NotImplementedException();
65154
}
66155

156+
public void Debug(string messageTemplate)
157+
{
158+
throw new NotImplementedException();
159+
}
160+
161+
public void Debug<T>(string messageTemplate, T propertyValue)
162+
{
163+
throw new NotImplementedException();
164+
}
165+
166+
public void Debug<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
167+
{
168+
throw new NotImplementedException();
169+
}
170+
171+
public void Debug<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
172+
{
173+
throw new NotImplementedException();
174+
}
175+
67176
public void Debug(string messageTemplate, params object[] propertyValues)
68177
{
69178
throw new NotImplementedException();
70179
}
71180

181+
public void Debug(Exception exception, string messageTemplate)
182+
{
183+
throw new NotImplementedException();
184+
}
185+
186+
public void Debug<T>(Exception exception, string messageTemplate, T propertyValue)
187+
{
188+
throw new NotImplementedException();
189+
}
190+
191+
public void Debug<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
192+
{
193+
throw new NotImplementedException();
194+
}
195+
196+
public void Debug<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1,
197+
T2 propertyValue2)
198+
{
199+
throw new NotImplementedException();
200+
}
201+
72202
public void Debug(Exception exception, string messageTemplate, params object[] propertyValues)
73203
{
74204
throw new NotImplementedException();
75205
}
76206

207+
public void Information(string messageTemplate)
208+
{
209+
throw new NotImplementedException();
210+
}
211+
212+
public void Information<T>(string messageTemplate, T propertyValue)
213+
{
214+
throw new NotImplementedException();
215+
}
216+
217+
public void Information<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
218+
{
219+
throw new NotImplementedException();
220+
}
221+
222+
public void Information<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
223+
{
224+
throw new NotImplementedException();
225+
}
226+
77227
public void Information(string messageTemplate, params object[] propertyValues)
78228
{
79229
throw new NotImplementedException();
80230
}
81231

232+
public void Information(Exception exception, string messageTemplate)
233+
{
234+
throw new NotImplementedException();
235+
}
236+
237+
public void Information<T>(Exception exception, string messageTemplate, T propertyValue)
238+
{
239+
throw new NotImplementedException();
240+
}
241+
242+
public void Information<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
243+
{
244+
throw new NotImplementedException();
245+
}
246+
247+
public void Information<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1,
248+
T2 propertyValue2)
249+
{
250+
throw new NotImplementedException();
251+
}
252+
82253
public void Information(Exception exception, string messageTemplate, params object[] propertyValues)
83254
{
84255
throw new NotImplementedException();
85256
}
86257

258+
public void Warning(string messageTemplate)
259+
{
260+
throw new NotImplementedException();
261+
}
262+
263+
public void Warning<T>(string messageTemplate, T propertyValue)
264+
{
265+
throw new NotImplementedException();
266+
}
267+
268+
public void Warning<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
269+
{
270+
throw new NotImplementedException();
271+
}
272+
273+
public void Warning<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
274+
{
275+
throw new NotImplementedException();
276+
}
277+
87278
public void Warning(string messageTemplate, params object[] propertyValues)
88279
{
89280
throw new NotImplementedException();
90281
}
91282

283+
public void Warning(Exception exception, string messageTemplate)
284+
{
285+
throw new NotImplementedException();
286+
}
287+
288+
public void Warning<T>(Exception exception, string messageTemplate, T propertyValue)
289+
{
290+
throw new NotImplementedException();
291+
}
292+
293+
public void Warning<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
294+
{
295+
throw new NotImplementedException();
296+
}
297+
298+
public void Warning<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1,
299+
T2 propertyValue2)
300+
{
301+
throw new NotImplementedException();
302+
}
303+
92304
public void Warning(Exception exception, string messageTemplate, params object[] propertyValues)
93305
{
94306
throw new NotImplementedException();
95307
}
96308

309+
public void Error(string messageTemplate)
310+
{
311+
throw new NotImplementedException();
312+
}
313+
314+
public void Error<T>(string messageTemplate, T propertyValue)
315+
{
316+
throw new NotImplementedException();
317+
}
318+
319+
public void Error<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
320+
{
321+
throw new NotImplementedException();
322+
}
323+
324+
public void Error<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
325+
{
326+
throw new NotImplementedException();
327+
}
328+
97329
public void Error(string messageTemplate, params object[] propertyValues)
98330
{
99331
throw new NotImplementedException();
100332
}
101333

334+
public void Error(Exception exception, string messageTemplate)
335+
{
336+
throw new NotImplementedException();
337+
}
338+
339+
public void Error<T>(Exception exception, string messageTemplate, T propertyValue)
340+
{
341+
throw new NotImplementedException();
342+
}
343+
344+
public void Error<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
345+
{
346+
throw new NotImplementedException();
347+
}
348+
349+
public void Error<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1,
350+
T2 propertyValue2)
351+
{
352+
throw new NotImplementedException();
353+
}
354+
102355
public void Error(Exception exception, string messageTemplate, params object[] propertyValues)
103356
{
104357
throw new NotImplementedException();
105358
}
106359

360+
public void Fatal(string messageTemplate)
361+
{
362+
throw new NotImplementedException();
363+
}
364+
365+
public void Fatal<T>(string messageTemplate, T propertyValue)
366+
{
367+
throw new NotImplementedException();
368+
}
369+
370+
public void Fatal<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
371+
{
372+
throw new NotImplementedException();
373+
}
374+
375+
public void Fatal<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
376+
{
377+
throw new NotImplementedException();
378+
}
379+
107380
public void Fatal(string messageTemplate, params object[] propertyValues)
108381
{
109382
throw new NotImplementedException();
110383
}
111384

385+
public void Fatal(Exception exception, string messageTemplate)
386+
{
387+
throw new NotImplementedException();
388+
}
389+
390+
public void Fatal<T>(Exception exception, string messageTemplate, T propertyValue)
391+
{
392+
throw new NotImplementedException();
393+
}
394+
395+
public void Fatal<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
396+
{
397+
throw new NotImplementedException();
398+
}
399+
400+
public void Fatal<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1,
401+
T2 propertyValue2)
402+
{
403+
throw new NotImplementedException();
404+
}
405+
112406
public void Fatal(Exception exception, string messageTemplate, params object[] propertyValues)
113407
{
114408
throw new NotImplementedException();
115409
}
410+
411+
public bool BindMessageTemplate(string messageTemplate, object[] propertyValues, out MessageTemplate parsedTemplate,
412+
out IEnumerable<LogEventProperty> boundProperties)
413+
{
414+
throw new NotImplementedException();
415+
}
416+
417+
public bool BindProperty(string propertyName, object value, bool destructureObjects, out LogEventProperty property)
418+
{
419+
throw new NotImplementedException();
420+
}
116421
}
117422
}

0 commit comments

Comments
 (0)