#include <log.h>
List of all members.
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
CLOSED |
|
OPEN |
|
INPROGRESS |
|
IDLE |
|
- Enumerator:
LOG_SILENT |
|
LOG_NORMAL |
|
LOG_DEBUG |
|
LOG_EXTRA |
|
Constructor & Destructor Documentation
gnash::LogFile::~LogFile |
( |
|
) |
|
Member Function Documentation
bool gnash::LogFile::closeLog |
( |
|
) |
|
int gnash::LogFile::getActionDump |
( |
|
) |
const [inline] |
LogFile & gnash::LogFile::getDefaultInstance |
( |
|
) |
[static] |
int gnash::LogFile::getNetwork |
( |
|
) |
const [inline] |
int gnash::LogFile::getParserDump |
( |
|
) |
const [inline] |
bool gnash::LogFile::getStamp |
( |
|
) |
const [inline] |
int gnash::LogFile::getVerbosity |
( |
|
) |
const [inline] |
bool gnash::LogFile::getWriteDisk |
( |
|
) |
const [inline] |
void gnash::LogFile::log |
( |
const std::string & |
label, |
|
|
const std::string & |
msg | |
|
) |
| | [inline] |
void gnash::LogFile::log |
( |
const std::string & |
msg |
) |
|
Intended for use by log_*(). Thread-safe (locks _ioMutex).
- Parameters:
-
References gnash::timestamp().
void gnash::LogFile::registerLogCallback |
( |
logListener |
l |
) |
[inline] |
bool gnash::LogFile::removeLog |
( |
|
) |
|
Remove the log file.
Does NOT lock _ioMutex (should it?)
References OPEN.
Referenced by main().
void gnash::LogFile::setActionDump |
( |
int |
x |
) |
[inline] |
void gnash::LogFile::setLogFilename |
( |
const std::string & |
fname |
) |
|
Set log filename.
If a log file is opened already, it will be closed by this call, and will be reopened on next use if needed.
References closeLog().
Referenced by main().
void gnash::LogFile::setNetwork |
( |
int |
x |
) |
[inline] |
void gnash::LogFile::setParserDump |
( |
int |
x |
) |
[inline] |
void gnash::LogFile::setStamp |
( |
bool |
b |
) |
[inline] |
void gnash::LogFile::setVerbosity |
( |
|
) |
[inline] |
void gnash::LogFile::setVerbosity |
( |
int |
x |
) |
[inline] |
void gnash::LogFile::setWriteDisk |
( |
bool |
b |
) |
|
The documentation for this class was generated from the following files: