C# Class Log.DetailLogger

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

Méthodes publiques

Méthode 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 méthode

public DetailLogger ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Error() public méthode

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
Résultat void

Print() public méthode

public Print ( TextWriter writer ) : void
writer System.IO.TextWriter
Résultat void

Warn() public méthode

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
Résultat void