C# 클래스 Log.DetailLogger

This is the detail logger TODO(kai): describe this better, please.
파일 보기 프로젝트 열기: YourLocalFax/OLD-Score 1 사용 예제들

공개 메소드들

메소드 설명
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