C# Class Microsoft.CodeAnalysis.Sarif.ConsoleLogger

Inheritance: IAnalysisLogger
Afficher le fichier Open project: Microsoft/sarif-sdk

Méthodes publiques

Méthode Description
AnalysisStarted ( ) : void
AnalysisStopped ( RuntimeConditions runtimeConditions ) : void
AnalyzingTarget ( IAnalysisContext context ) : void
ConsoleLogger ( bool verbose ) : System
Log ( IRule rule, Result result ) : void
LogConfigurationNotification ( Notification notification ) : void
LogMessage ( bool verbose, string message ) : void
LogToolNotification ( Notification notification ) : void
NormalizeMessage ( string message, bool enquote ) : string

Private Methods

Méthode Description
FormatNotificationMessage ( Notification notification ) : string
GetMessageText ( Uri uri, Region region, string ruleId, string message, ResultLevel resultLevel ) : string
WriteToConsole ( Notification notification ) : void
WriteToConsole ( ResultLevel level, Uri uri, Region region, string ruleId, string message ) : void

Method Details

AnalysisStarted() public méthode

public AnalysisStarted ( ) : void
Résultat void

AnalysisStopped() public méthode

public AnalysisStopped ( RuntimeConditions runtimeConditions ) : void
runtimeConditions RuntimeConditions
Résultat void

AnalyzingTarget() public méthode

public AnalyzingTarget ( IAnalysisContext context ) : void
context IAnalysisContext
Résultat void

ConsoleLogger() public méthode

public ConsoleLogger ( bool verbose ) : System
verbose bool
Résultat System

Log() public méthode

public Log ( IRule rule, Result result ) : void
rule IRule
result Result
Résultat void

LogConfigurationNotification() public méthode

public LogConfigurationNotification ( Notification notification ) : void
notification Notification
Résultat void

LogMessage() public méthode

public LogMessage ( bool verbose, string message ) : void
verbose bool
message string
Résultat void

LogToolNotification() public méthode

public LogToolNotification ( Notification notification ) : void
notification Notification
Résultat void

NormalizeMessage() public static méthode

public static NormalizeMessage ( string message, bool enquote ) : string
message string
enquote bool
Résultat string