Rudiments
|
Inherits logdestination.
Public Member Functions | |
filedestination () | |
virtual | ~filedestination () |
bool | open (const char *filename, mode_t perms) |
void | close () |
Public Member Functions inherited from object | |
virtual | ~object () |
The filedestination class writes log data to a file.
filedestination::filedestination | ( | ) |
Creates an instance of the filedestination class.
|
virtual |
Deletes this instance of the filedestination class.
void filedestination::close | ( | ) |
Closes the file as a logging destination.
bool filedestination::open | ( | const char * | filename, |
mode_t | perms | ||
) |
Opens file "filename" as a logging destination with "perms" permissions.