C# Class StaticAnalysis.ConsoleLogger

Simple class for logging errors and warnings to the console and writing reports to the file system.
Inheritance: AnalysisLogger
显示文件 Open project: Azure/azure-powershell

Public Methods

Method Description
ConsoleLogger ( string baseDirectory ) : System
ConsoleLogger ( string baseDirectory, string exceptionsDirectory ) : System
WriteError ( string error ) : void
WriteMessage ( string message ) : void
WriteReport ( string name, string records ) : void
WriteWarning ( string message ) : void

Method Details

ConsoleLogger() public method

public ConsoleLogger ( string baseDirectory ) : System
baseDirectory string
return System

ConsoleLogger() public method

public ConsoleLogger ( string baseDirectory, string exceptionsDirectory ) : System
baseDirectory string
exceptionsDirectory string
return System

WriteError() public method

public WriteError ( string error ) : void
error string
return void

WriteMessage() public method

public WriteMessage ( string message ) : void
message string
return void

WriteReport() public method

public WriteReport ( string name, string records ) : void
name string
records string
return void

WriteWarning() public method

public WriteWarning ( string message ) : void
message string
return void