FileAppender

FileAppender class

Reprensents a file appender.

The FileAppender type exposes the following members:

Constructors

NameDescription
FileAppender()Initializes a new instance of the FileAppender class.
FileAppender(file_name)Initializes a new instance of the FileAppender class
FileAppender(file_name, use_date)Initializes a new instance of the FileAppender class
FileAppender(file_name, formatter)Initializes a new instance of the FileAppender class
FileAppender(file_name, use_date, formatter)Initializes a new instance of the FileAppender class

Properties

NameDescription
formatterGets or sets the formatter.
file_nameGets or sets file name.
use_dateGets or sets value which indicates whether date is used for logging.
encodingGets or sets the encoding.

Methods

NameDescription
append(log_entry)
append(log_entries)
append_header()
close()
initialize()

See Also