Public Member Functions | |
| Logfile () | |
| ~Logfile () | |
| ostream & | operator() (bool timestamp=false) |
Static Public Member Functions | |
| static void | setFname (const Pathname &fname_r) |
Private Member Functions | |
| Logfile (const Logfile &) | |
| Logfile & | operator= (const Logfile &) |
Static Private Member Functions | |
| static void | openLog () |
| static void | closeLog () |
| static void | refUp () |
| static void | refDown () |
Static Private Attributes | |
| static ofstream | _log |
| static unsigned | _refcnt = 0 |
| static Pathname | _fname |
Usage: some methothd () { Logfile progresslog; ... progresslog() << "some message" << endl; ... }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4