![]() |
Main Page
Class Hierarchy
Alphabetical List
Compound List
File List
Compound Members
![]() |
#include <FXLogger.h>
Inheritance diagram for FXEX::FXLogger::
Public Methods | |
FXLogger (const FXString &file, const FXlong size=100000, const FXuint mode=0, const FXbool timestamp=TRUE) | |
void | size (const FXlong size) |
FXlong | size () |
FXbool | name (const FXString &file) |
FXString | name () |
FXbool | isEnabled () |
void | log (const FXchar *msg,...) |
void | log (const FXString &msg) |
void | status (const FXString &code, const FXString &msg) |
void | warning (const FXString &msg) |
void | error (const FXString &msg) |
void | debug (const FXString &msg) |
void | log (const FXException *e) |
void | log (const FXExtendedException *e) |
virtual FXStream & | operator<< (const FXchar &v) |
virtual FXStream & | operator<< (const FXuchar &v) |
virtual | ~FXLogger () |
Static Public Methods | |
FXLogger & | instance () |
The good stuff:
Definition at line 64 of file FXLogger.h.
|
Give me a log file.
|
|
done.
|
|
Use the current instance.
|
|
Set the size of the log file - check on next log entry.
Definition at line 73 of file FXLogger.h. |
|
Get the size of the log file.
Definition at line 76 of file FXLogger.h. |
|
Change the location of the log file - change is immediate.
|
|
get the current filename.
Definition at line 82 of file FXLogger.h. |
|
indicates whether the log file can/will be written to.
Definition at line 85 of file FXLogger.h. |
|
This is for logging output to a file It is automatically new-line terminated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Save to stream.
|
|
load from stream.
|