Class Log4netFileAppender
The messages from log4net are written to a file in the current working directory. Set Basename to indicate the basename of the file. The %h template is replaced by the hostname.
Namespace: Xareus.Unity
Assembly: Xareus.Unity.dll
Syntax
public class Log4netFileAppender : FileAppender
Constructors
Log4netFileAppender()
Declaration
public Log4netFileAppender()
Properties
Basename
The basename
Declaration
public string Basename { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Append(LoggingEvent)
Declaration
protected override void Append(LoggingEvent loggingEvent)
Parameters
Type | Name | Description |
---|---|---|
LoggingEvent | loggingEvent |
Overrides
log4net.Appender.FileAppender.Append(log4net.Core.LoggingEvent)
Append(LoggingEvent[])
Declaration
protected override void Append(LoggingEvent[] loggingEvents)
Parameters
Type | Name | Description |
---|---|---|
LoggingEvent[] | loggingEvents |
Overrides
log4net.Appender.FileAppender.Append(log4net.Core.LoggingEvent[])