C# 클래스 Microsoft.CodeAnalysis.Sarif.Writers.SarifLogger

상속: IDisposable, IAnalysisLogger
파일 보기 프로젝트 열기: Microsoft/sarif-sdk 1 사용 예제들

공개 메소드들

메소드 설명
AnalysisStarted ( ) : void
AnalysisStopped ( RuntimeConditions runtimeConditions ) : void
AnalyzingTarget ( IAnalysisContext context ) : void
Dispose ( ) : void
Log ( IRule rule, System.Result result ) : void
Log ( ResultLevel messageKind, IAnalysisContext context, Region region, string formatId ) : void
LogConfigurationNotification ( Notification notification ) : void
LogMessage ( bool verbose, string message ) : void
LogToolNotification ( Notification notification ) : void
SarifLogger ( TextWriter textWriter, IEnumerable analysisTargets, bool verbose, bool logEnvironment, bool computeTargetsHash, string prereleaseInfo, IEnumerable invocationTokensToRedact ) : System
SarifLogger ( TextWriter textWriter, bool verbose ) : System
SarifLogger ( TextWriter textWriter, bool verbose, bool computeTargetsHash, Tool tool, Run run ) : System
SarifLogger ( string outputFilePath, IEnumerable analysisTargets, bool verbose, bool logEnvironment, bool computeTargetsHash, string prereleaseInfo, IEnumerable invocationTokensToRedact ) : System
SarifLogger ( string outputFilePath, bool verbose, bool computeTargetsHash, Tool tool, Run run ) : System
ShouldLog ( ResultLevel level ) : bool

비공개 메소드들

메소드 설명
CaptureAnnotatedCodeLocations ( IList locations ) : void
CaptureFile ( Uri uri ) : void
CaptureFilesInResult ( System.Result result ) : void
CreateRun ( IEnumerable analysisTargets, bool computeTargetsHash, bool logEnvironment, IEnumerable invocationTokensToRedact ) : Run
LogJsonIssue ( ResultLevel level, string targetPath, Region region, string ruleId, string formatId ) : void
Redact ( string text, IEnumerable tokensToRedact ) : string
SetSarifLoggerVersion ( Tool tool ) : void

메소드 상세

AnalysisStarted() 공개 메소드

public AnalysisStarted ( ) : void
리턴 void

AnalysisStopped() 공개 메소드

public AnalysisStopped ( RuntimeConditions runtimeConditions ) : void
runtimeConditions RuntimeConditions
리턴 void

AnalyzingTarget() 공개 메소드

public AnalyzingTarget ( IAnalysisContext context ) : void
context IAnalysisContext
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Log() 공개 메소드

public Log ( IRule rule, System.Result result ) : void
rule IRule
result System.Result
리턴 void

Log() 공개 메소드

public Log ( ResultLevel messageKind, IAnalysisContext context, Region region, string formatId ) : void
messageKind ResultLevel
context IAnalysisContext
region Region
formatId string
리턴 void

LogConfigurationNotification() 공개 메소드

public LogConfigurationNotification ( Notification notification ) : void
notification Notification
리턴 void

LogMessage() 공개 메소드

public LogMessage ( bool verbose, string message ) : void
verbose bool
message string
리턴 void

LogToolNotification() 공개 메소드

public LogToolNotification ( Notification notification ) : void
notification Notification
리턴 void

SarifLogger() 공개 메소드

public SarifLogger ( TextWriter textWriter, IEnumerable analysisTargets, bool verbose, bool logEnvironment, bool computeTargetsHash, string prereleaseInfo, IEnumerable invocationTokensToRedact ) : System
textWriter System.IO.TextWriter
analysisTargets IEnumerable
verbose bool
logEnvironment bool
computeTargetsHash bool
prereleaseInfo string
invocationTokensToRedact IEnumerable
리턴 System

SarifLogger() 공개 메소드

public SarifLogger ( TextWriter textWriter, bool verbose ) : System
textWriter System.IO.TextWriter
verbose bool
리턴 System

SarifLogger() 공개 메소드

public SarifLogger ( TextWriter textWriter, bool verbose, bool computeTargetsHash, Tool tool, Run run ) : System
textWriter System.IO.TextWriter
verbose bool
computeTargetsHash bool
tool Tool
run Run
리턴 System

SarifLogger() 공개 메소드

public SarifLogger ( string outputFilePath, IEnumerable analysisTargets, bool verbose, bool logEnvironment, bool computeTargetsHash, string prereleaseInfo, IEnumerable invocationTokensToRedact ) : System
outputFilePath string
analysisTargets IEnumerable
verbose bool
logEnvironment bool
computeTargetsHash bool
prereleaseInfo string
invocationTokensToRedact IEnumerable
리턴 System

SarifLogger() 공개 메소드

public SarifLogger ( string outputFilePath, bool verbose, bool computeTargetsHash, Tool tool, Run run ) : System
outputFilePath string
verbose bool
computeTargetsHash bool
tool Tool
run Run
리턴 System

ShouldLog() 공개 메소드

public ShouldLog ( ResultLevel level ) : bool
level ResultLevel
리턴 bool