@@ -29,7 +29,6 @@ internal sealed class FormattingEngineImplementation : IFormattingEngine
2929 private readonly IEnumerable < ILocalSemanticFormattingRule > _localSemanticRules ;
3030 private readonly IEnumerable < IGlobalSemanticFormattingRule > _globalSemanticRules ;
3131 private readonly Stopwatch _watch = new Stopwatch ( ) ;
32- private bool _verbose ;
3332
3433 public ImmutableArray < string > CopyrightHeader
3534 {
@@ -49,12 +48,6 @@ public IFormatLogger FormatLogger
4948 set { _options . FormatLogger = value ; }
5049 }
5150
52- public bool Verbose
53- {
54- get { return _verbose ; }
55- set { _verbose = value ; }
56- }
57-
5851 [ ImportingConstructor ]
5952 internal FormattingEngineImplementation (
6053 Options options ,
@@ -159,15 +152,7 @@ private void StartDocument()
159152 private void EndDocument ( Document document )
160153 {
161154 _watch . Stop ( ) ;
162- if ( _verbose && _watch . Elapsed . TotalSeconds > 1 )
163- {
164- FormatLogger . WriteLine ( ) ;
165- FormatLogger . WriteLine ( " {0} {1} seconds" , document . Name , _watch . Elapsed . TotalSeconds ) ;
166- }
167- else
168- {
169- FormatLogger . Write ( "." ) ;
170- }
155+ FormatLogger . WriteLine ( " {0} {1} seconds" , document . Name , _watch . Elapsed . TotalSeconds ) ;
171156 }
172157
173158 /// <summary>
@@ -200,7 +185,6 @@ private async Task<Solution> RunSyntaxPass(Solution originalSolution, IReadOnlyL
200185 }
201186 }
202187
203- FormatLogger . WriteLine ( ) ;
204188 return currentSolution ;
205189 }
206190
@@ -222,7 +206,6 @@ private async Task<Solution> RunLocalSemanticPass(Solution solution, IReadOnlyLi
222206 solution = await RunLocalSemanticPass ( solution , documentIds , localSemanticRule , cancellationToken ) ;
223207 }
224208
225- FormatLogger . WriteLine ( ) ;
226209 return solution ;
227210 }
228211
@@ -249,7 +232,6 @@ private async Task<Solution> RunLocalSemanticPass(Solution originalSolution, IRe
249232 }
250233 }
251234
252- FormatLogger . WriteLine ( ) ;
253235 return currentSolution ;
254236 }
255237
@@ -261,7 +243,6 @@ private async Task<Solution> RunGlobalSemanticPass(Solution solution, IReadOnlyL
261243 solution = await RunGlobalSemanticPass ( solution , documentIds , globalSemanticRule , cancellationToken ) ;
262244 }
263245
264- FormatLogger . WriteLine ( ) ;
265246 return solution ;
266247 }
267248
@@ -282,7 +263,6 @@ private async Task<Solution> RunGlobalSemanticPass(Solution solution, IReadOnlyL
282263 EndDocument ( document ) ;
283264 }
284265
285- FormatLogger . WriteLine ( ) ;
286266 return solution ;
287267 }
288268 }
0 commit comments