C# Class Orchard.Logging.OrchardFileAppender

Inheritance: log4net.Appender.RollingFileAppender
Afficher le fichier Open project: ucdavis/Orchard Class Usage Examples

Méthodes protégées

Méthode 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 méthode

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.
Résultat void

OpenFile() protected méthode

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.
Résultat void