C# Class JDP.Remediation.Console.Logger

Show file Open project: OfficeDev/PnP-Transformation

Public Methods

Method Description
CloseLog ( ) : void
ConsoleMessage ( string msg ) : void
CurrentDateTime ( ) : string
LogErrorMessage ( string msg, bool toConsole = true ) : void
LogInfoMessage ( string msg, bool toConsole = true ) : void
LogMessage ( string msg, bool toConsole = true ) : void
LogSuccessMessage ( string msg, bool toConsole = true ) : void
LogWarningMessage ( string msg, bool toConsole = true ) : void
OpenLog ( string operationName, string timeStamp = "N/A" ) : void

Private Methods

Method Description
Logger ( ) : System

Method Details

CloseLog() public static method

public static CloseLog ( ) : void
return void

ConsoleMessage() public static method

public static ConsoleMessage ( string msg ) : void
msg string
return void

CurrentDateTime() public static method

public static CurrentDateTime ( ) : string
return string

LogErrorMessage() public static method

public static LogErrorMessage ( string msg, bool toConsole = true ) : void
msg string
toConsole bool
return void

LogInfoMessage() public static method

public static LogInfoMessage ( string msg, bool toConsole = true ) : void
msg string
toConsole bool
return void

LogMessage() public static method

public static LogMessage ( string msg, bool toConsole = true ) : void
msg string
toConsole bool
return void

LogSuccessMessage() public static method

public static LogSuccessMessage ( string msg, bool toConsole = true ) : void
msg string
toConsole bool
return void

LogWarningMessage() public static method

public static LogWarningMessage ( string msg, bool toConsole = true ) : void
msg string
toConsole bool
return void

OpenLog() public static method

public static OpenLog ( string operationName, string timeStamp = "N/A" ) : void
operationName string
timeStamp string
return void