90 static BESLog * _instance ;
92 ofstream * _file_buffer ;
168 typedef ios& (*p_ios_manipulator) (ios&);
170 typedef ostream& (*p_ostream_manipulator) (ostream&);
185 virtual void dump( ostream &strm )
const ;
~BESLog()
Cleans up the logging mechanism.
ios &(* p_ios_manipulator)(ios &)
Defines a data type p_ios_manipulator "pointer to function that takes ios& and returns ios&"...
void verbose_off()
turns off verbose logging
bool is_verbose()
Returns true if verbose logging is requested.
ostream &(* p_ostream_manipulator)(ostream &)
Defines a data type p_ostream_manipulator "pointer to function that takes ostream& and returns ostrea...
void resume()
Resumes logging after being suspended.
BESLog & operator<<(string &)
Overloaded inserter that writes the specified string.
Base object for bes objects.
void suspend()
Suspend logging of any information until resumed.
void verbose_on()
turn on verbose logging
void dump_time()
Protected method that dumps the date/time to the log file.
BESLog()
constructor that sets up logging for the application.
Provides a mechanism for applications to log information to an external file.
virtual void dump(ostream &strm) const
dumps information about this object