C# Class ToSic.SexyContent.Installer.Logger

Exibir arquivo Open project: 2sic/2sxc Class Usage Examples

Private Properties

Property Type Description
CloseLogFiles void
DeleteAllLogFiles void
EnsureLogDirectoryExists void
FormatLogMessage string
GenerateNewLogFileName string
LogStep void
LogVersionCompletedToPreventRerunningTheUpgrade void
OpenLogFiles System.IO.StreamWriter

Public Methods

Method Description
Logger ( bool saveDetails ) : System

Private Methods

Method Description
CloseLogFiles ( ) : void
DeleteAllLogFiles ( ) : void
EnsureLogDirectoryExists ( ) : void
FormatLogMessage ( string version, string message ) : string
GenerateNewLogFileName ( ) : string
LogStep ( string version, string message, bool isImportant = true ) : void
LogVersionCompletedToPreventRerunningTheUpgrade ( string version, bool appendToFile = true ) : void
OpenLogFiles ( ) : StreamWriter

Method Details

Logger() public method

public Logger ( bool saveDetails ) : System
saveDetails bool
return System