@@ -26,7 +26,6 @@ internal sealed class FormattingEngineImplementation : IFormattingEngine
2626 private readonly IEnumerable < ILocalSemanticFormattingRule > _localSemanticRules ;
2727 private readonly IEnumerable < IGlobalSemanticFormattingRule > _globalSemanticRules ;
2828 private readonly Stopwatch _watch = new Stopwatch ( ) ;
29- private bool _verbose ;
3029
3130 public ImmutableArray < string > CopyrightHeader
3231 {
@@ -40,12 +39,6 @@ public IFormatLogger FormatLogger
4039 set { _options . FormatLogger = value ; }
4140 }
4241
43- public bool Verbose
44- {
45- get { return _verbose ; }
46- set { _verbose = value ; }
47- }
48-
4942 [ ImportingConstructor ]
5043 internal FormattingEngineImplementation (
5144 Options options ,
@@ -161,15 +154,7 @@ private void StartDocument()
161154 private void EndDocument ( Document document )
162155 {
163156 _watch . Stop ( ) ;
164- if ( _verbose && _watch . Elapsed . TotalSeconds > 1 )
165- {
166- FormatLogger . WriteLine ( ) ;
167- FormatLogger . WriteLine ( " {0} {1} seconds" , document . Name , _watch . Elapsed . TotalSeconds ) ;
168- }
169- else
170- {
171- FormatLogger . Write ( "." ) ;
172- }
157+ FormatLogger . WriteLine ( " {0} {1} seconds" , document . Name , _watch . Elapsed . TotalSeconds ) ;
173158 }
174159
175160 /// <summary>
@@ -202,7 +187,6 @@ private async Task<Solution> RunSyntaxPass(Solution originalSolution, IReadOnlyL
202187 }
203188 }
204189
205- FormatLogger . WriteLine ( ) ;
206190 return currentSolution ;
207191 }
208192
@@ -224,7 +208,6 @@ private async Task<Solution> RunLocalSemanticPass(Solution solution, IReadOnlyLi
224208 solution = await RunLocalSemanticPass ( solution , documentIds , localSemanticRule , cancellationToken ) ;
225209 }
226210
227- FormatLogger . WriteLine ( ) ;
228211 return solution ;
229212 }
230213
@@ -251,7 +234,6 @@ private async Task<Solution> RunLocalSemanticPass(Solution originalSolution, IRe
251234 }
252235 }
253236
254- FormatLogger . WriteLine ( ) ;
255237 return currentSolution ;
256238 }
257239
@@ -263,7 +245,6 @@ private async Task<Solution> RunGlobalSemanticPass(Solution solution, IReadOnlyL
263245 solution = await RunGlobalSemanticPass ( solution , documentIds , globalSemanticRule , cancellationToken ) ;
264246 }
265247
266- FormatLogger . WriteLine ( ) ;
267248 return solution ;
268249 }
269250
@@ -284,7 +265,6 @@ private async Task<Solution> RunGlobalSemanticPass(Solution solution, IReadOnlyL
284265 EndDocument ( document ) ;
285266 }
286267
287- FormatLogger . WriteLine ( ) ;
288268 return solution ;
289269 }
290270 }
0 commit comments