#include <quartz_log.h>
Public Member Functions | |
| QuartzLog (std::string filename) | |
| Open the log. | |
| ~QuartzLog () | |
| Close the log. | |
| void | make_entry (const std::string &entry) const |
| Make an entry in the log. | |
Private Member Functions | |
| QuartzLog (const QuartzLog &) | |
| Copying not allowed. | |
| void | operator= (const QuartzLog &) |
| Assignment not allowed. | |
Private Attributes | |
| int | fd |
| File descriptor of log file (or -1 if not logging). | |
Definition at line 34 of file quartz_log.h.
| QuartzLog::QuartzLog | ( | const QuartzLog & | ) | [private] |
Copying not allowed.
| QuartzLog::QuartzLog | ( | std::string | filename | ) |
Open the log.
| filename | The full filename of the logfile. If this file doesn't exists, log messages are discarded. |
| QuartzLog::~QuartzLog | ( | ) |
| void QuartzLog::operator= | ( | const QuartzLog & | ) | [private] |
Assignment not allowed.
| void QuartzLog::make_entry | ( | const std::string & | entry | ) | const |
Make an entry in the log.
Referenced by QuartzDatabase::apply(), QuartzDatabase::create_and_open_tables(), QuartzDatabase::open_tables(), QuartzDatabase::open_tables_consistent(), QuartzDatabase::QuartzDatabase(), and QuartzDatabase::~QuartzDatabase().
int QuartzLog::fd [private] |
File descriptor of log file (or -1 if not logging).
Definition at line 43 of file quartz_log.h.
Referenced by ~QuartzLog().