C# Class Orchard.Logging.OrchardFileAppender

Inheritance: log4net.Appender.RollingFileAppender
Show file Open project: ucdavis/Orchard Class Usage Examples

Protected Methods

Method Description
BaseOpenFile ( string fileName, bool append ) : void

Calls the base class OpenFile method. Allows this method to be mocked.

OpenFile ( string fileName, bool append ) : void

Opens the log file adding an incremental suffix to the filename if required due to an openning failure (usually, locking).

Method Details

BaseOpenFile() protected method

Calls the base class OpenFile method. Allows this method to be mocked.
protected BaseOpenFile ( string fileName, bool append ) : void
fileName string The filename as specified in the configuration file.
append bool Boolean flag indicating weather the log file should be appended if it already exists.
return void

OpenFile() protected method

Opens the log file adding an incremental suffix to the filename if required due to an openning failure (usually, locking).
protected OpenFile ( string fileName, bool append ) : void
fileName string The filename as specified in the configuration file.
append bool Boolean flag indicating weather the log file should be appended if it already exists.
return void