C# Класс Log.DetailLogger

This is the detail logger TODO(kai): describe this better, please.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

DetailLogger() публичный Метод

public DetailLogger ( ) : System.Collections.Generic
Результат System.Collections.Generic

Error() публичный Метод

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
Результат void

Print() публичный Метод

public Print ( TextWriter writer ) : void
writer System.IO.TextWriter
Результат void

Warn() публичный Метод

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
Результат void