C# Class Log.DetailLogger

This is the detail logger TODO(kai): describe this better, please.
Mostra file Open project: YourLocalFax/OLD-Score Class Usage Examples

Public Methods

Method Description
DetailLogger ( ) : System.Collections.Generic
Error ( Span span, string format ) : void

Adds an error message to this logger. Error messages prevent subsequent steps from executing. For example, if the lexing stage produces errors, the parsing stage will not occur, and the compilation fails.

Print ( TextWriter writer ) : void
Warn ( Span span, string format ) : void

Adds a warning message to this logger.

Method Details

DetailLogger() public method

public DetailLogger ( ) : System.Collections.Generic
return System.Collections.Generic

Error() public method

Adds an error message to this logger. Error messages prevent subsequent steps from executing. For example, if the lexing stage produces errors, the parsing stage will not occur, and the compilation fails.
public Error ( Span span, string format ) : void
span Source.Span Where in the source file this error describes
format string The detail message
return void

Print() public method

public Print ( TextWriter writer ) : void
writer System.IO.TextWriter
return void

Warn() public method

Adds a warning message to this logger.
public Warn ( Span span, string format ) : void
span Source.Span Where in the source file this warning describes
format string The detail message
return void