logger object
string header_text
This will be the string that will be prepended to any log file. This can be useful, for example, if you need to log when the program started. Default is blank.
string footer_text
This will be the string that will be appended to any log file. This can be useful if you need to log when the program ended. Default is blank.
string date_format
This specifies the date and time format that the log will use. This is fully customisable, and can be any text, using the following combinations as date and time controllers enclosed in < and > signs (less than/greater than signs).

- d or D=the date (1 to 31).
- dd or DD=date (01 to 31).
- w=weekday (1 to 7).
- W=weekday (monday to sunday).
- m=month (1 to 12).
- mm or MM=month (01 to 12).
- M=month (January to December).
- y=year in 4-digit format.
- Y=year in 2-digit format.
- h=hour (1 to 12).
- hh=hour (01 to 12).
- H=hour (0 to 23).
- HH=hour (00 to 23).
- n or N=minute (0 to 59).
- nn or NN=minute (00 to 59).
- s or S=second (0 to 59).
- ss or SS=second (00 to 59).
- tt=am/pm.
- TT=AM/PM.

Default value is "<dd>/<mm>/<y>, <hh>:<nn>:<ss> <tt>".
bool date_all_entries
This specifies whether all logged entries should be dated. If set to true, all entries will be dated. If set to false, no entries are dated unless you manually enter the date. Default value is false.
bool overwrite_file
This specifies whether the log file will be appended to or overwritten. Set this to true to overwrite the file, or false to append. Default value is false.
bool always_include_header
Specifies whether the header should always be included in the log. This property is ignored if the header_text property is blank. Default is false.