1+ using System ;
2+ using System . Collections . Generic ;
3+ using Serilog . Core ;
4+ using Serilog . Events ;
5+
6+ namespace Serilog . Tests . Support
7+ {
8+ public class DisposableLogger : ILogger , IDisposable
9+ {
10+ public bool Disposed { get ; set ; }
11+
12+ public void Dispose ( )
13+ {
14+ Disposed = true ;
15+ }
16+
17+ public ILogger ForContext ( IEnumerable < ILogEventEnricher > enrichers )
18+ {
19+ throw new NotImplementedException ( ) ;
20+ }
21+
22+ public ILogger ForContext ( string propertyName , object value , bool destructureObjects = false )
23+ {
24+ throw new NotImplementedException ( ) ;
25+ }
26+
27+ public ILogger ForContext < TSource > ( )
28+ {
29+ throw new NotImplementedException ( ) ;
30+ }
31+
32+ public ILogger ForContext ( Type source )
33+ {
34+ throw new NotImplementedException ( ) ;
35+ }
36+
37+ public void Write ( LogEvent logEvent )
38+ {
39+ throw new NotImplementedException ( ) ;
40+ }
41+
42+ public void Write ( LogEventLevel level , string messageTemplate , params object [ ] propertyValues )
43+ {
44+ throw new NotImplementedException ( ) ;
45+ }
46+
47+ public void Write ( LogEventLevel level , Exception exception , string messageTemplate , params object [ ] propertyValues )
48+ {
49+ throw new NotImplementedException ( ) ;
50+ }
51+
52+ public bool IsEnabled ( LogEventLevel level )
53+ {
54+ throw new NotImplementedException ( ) ;
55+ }
56+
57+ public void Verbose ( string messageTemplate , params object [ ] propertyValues )
58+ {
59+ throw new NotImplementedException ( ) ;
60+ }
61+
62+ public void Verbose ( Exception exception , string messageTemplate , params object [ ] propertyValues )
63+ {
64+ throw new NotImplementedException ( ) ;
65+ }
66+
67+ public void Debug ( string messageTemplate , params object [ ] propertyValues )
68+ {
69+ throw new NotImplementedException ( ) ;
70+ }
71+
72+ public void Debug ( Exception exception , string messageTemplate , params object [ ] propertyValues )
73+ {
74+ throw new NotImplementedException ( ) ;
75+ }
76+
77+ public void Information ( string messageTemplate , params object [ ] propertyValues )
78+ {
79+ throw new NotImplementedException ( ) ;
80+ }
81+
82+ public void Information ( Exception exception , string messageTemplate , params object [ ] propertyValues )
83+ {
84+ throw new NotImplementedException ( ) ;
85+ }
86+
87+ public void Warning ( string messageTemplate , params object [ ] propertyValues )
88+ {
89+ throw new NotImplementedException ( ) ;
90+ }
91+
92+ public void Warning ( Exception exception , string messageTemplate , params object [ ] propertyValues )
93+ {
94+ throw new NotImplementedException ( ) ;
95+ }
96+
97+ public void Error ( string messageTemplate , params object [ ] propertyValues )
98+ {
99+ throw new NotImplementedException ( ) ;
100+ }
101+
102+ public void Error ( Exception exception , string messageTemplate , params object [ ] propertyValues )
103+ {
104+ throw new NotImplementedException ( ) ;
105+ }
106+
107+ public void Fatal ( string messageTemplate , params object [ ] propertyValues )
108+ {
109+ throw new NotImplementedException ( ) ;
110+ }
111+
112+ public void Fatal ( Exception exception , string messageTemplate , params object [ ] propertyValues )
113+ {
114+ throw new NotImplementedException ( ) ;
115+ }
116+ }
117+ }
0 commit comments