Gnash
0.8.11dev
|
#include "rc.h"
#include "dsodefs.h"
#include <fstream>
#include <mutex>
#include <boost/format.hpp>
#include "gettext.h"
Go to the source code of this file.
Classes | |
class | gnash::LogFile |
class | gnash::HostFunctionReport |
Namespaces | |
gnash | |
Anonymous namespace for callbacks, local functions, event handlers etc. | |
Macros | |
#define | DEFAULT_LOGFILE "gnash-dbg.log" |
#define | _(String) gettext (String) |
#define | N_(String) gettext_noop (String) |
#define | LOG_ONCE(x) |
#define | __FUNCDNAME__ __FUNCTION__ |
#define | VERBOSE_PARSE 1 |
#define | VERBOSE_ACTION 1 |
#define | VERBOSE_ASCODING_ERRORS 1 |
#define | VERBOSE_MALFORMED_SWF 1 |
#define | VERBOSE_NETWORKING 1 |
#define | IF_VERBOSE_PARSE(x) do { if ( LogFile::getDefaultInstance().getParserDump() ) { x; } } while (0); |
#define | IF_VERBOSE_ACTION(x) do { if ( LogFile::getDefaultInstance().getActionDump() ) { x; } } while (0); |
#define | IF_VERBOSE_NETWORK(x) do { if ( LogFile::getDefaultInstance().getNetwork() ) { x; } } while (0); |
#define | IF_VERBOSE_ASCODING_ERRORS(x) { if ( gnash::RcInitFile::getDefaultInstance().showASCodingErrors() ) { x; } } |
#define | IF_VERBOSE_MALFORMED_SWF(x) { if ( gnash::RcInitFile::getDefaultInstance().showMalformedSWFErrors() ) { x; } } |
#define | dummystr(x) # x |
#define | dummyestr(x) dummystr(x) |
#define | __FUNCTION__ __FILE__ ":" dummyestr(__LINE__) |
#define | __PRETTY_FUNCTION__ __FUNCTION__ |
#define | GNASH_REPORT_FUNCTION gnash::log_debug("entering") |
#define | GNASH_REPORT_RETURN gnash::log_debug("returning") |
Functions | |
void | gnash::processLog_network (const boost::format &fmt) |
void | gnash::processLog_error (const boost::format &fmt) |
void | gnash::processLog_unimpl (const boost::format &fmt) |
void | gnash::processLog_trace (const boost::format &fmt) |
void | gnash::processLog_debug (const boost::format &fmt) |
void | gnash::processLog_action (const boost::format &fmt) |
void | gnash::processLog_parse (const boost::format &fmt) |
void | gnash::processLog_security (const boost::format &fmt) |
void | gnash::processLog_swferror (const boost::format &fmt) |
void | gnash::processLog_aserror (const boost::format &fmt) |
void | gnash::processLog_abc (const boost::format &fmt) |
template<typename FuncType > | |
void | gnash::log_impl (boost::format &fmt, FuncType func) |
template<typename FuncType , typename Arg , typename... Args> | |
void | gnash::log_impl (boost::format &fmt, FuncType processFunc, Arg arg, Args... args) |
template<typename StringType , typename FuncType , typename... Args> | |
void | gnash::log_impl (StringType msg, FuncType func, Args... args) |
template<typename StringType , typename... Args> | |
void | gnash::log_network (StringType msg, Args... args) |
template<typename StringType , typename... Args> | |
void | gnash::log_error (StringType msg, Args... args) |
template<typename StringType , typename... Args> | |
void | gnash::log_unimpl (StringType msg, Args... args) |
template<typename StringType , typename... Args> | |
void | gnash::log_trace (StringType msg, Args... args) |
template<typename StringType , typename... Args> | |
void | gnash::log_debug (StringType msg, Args... args) |
template<typename StringType , typename... Args> | |
void | gnash::log_action (StringType msg, Args... args) |
template<typename StringType , typename... Args> | |
void | gnash::log_parse (StringType msg, Args... args) |
template<typename StringType , typename... Args> | |
void | gnash::log_security (StringType msg, Args... args) |
template<typename StringType , typename... Args> | |
void | gnash::log_swferror (StringType msg, Args... args) |
template<typename StringType , typename... Args> | |
void | gnash::log_aserror (StringType msg, Args... args) |
template<typename StringType , typename... Args> | |
void | gnash::log_abc (StringType msg, Args... args) |
std::string | gnash::hexify (const unsigned char *bytes, size_t length, bool ascii) |
Convert a sequence of bytes to hex or ascii format. More... | |
#define _ | ( | String | ) | gettext (String) |
#define __FUNCDNAME__ __FUNCTION__ |
#define __FUNCTION__ __FILE__ ":" dummyestr(__LINE__) |
#define __PRETTY_FUNCTION__ __FUNCTION__ |
#define DEFAULT_LOGFILE "gnash-dbg.log" |
#define GNASH_REPORT_FUNCTION gnash::log_debug("entering") |
#define GNASH_REPORT_RETURN gnash::log_debug("returning") |
#define IF_VERBOSE_ACTION | ( | x | ) | do { if ( LogFile::getDefaultInstance().getActionDump() ) { x; } } while (0); |
#define IF_VERBOSE_ASCODING_ERRORS | ( | x | ) | { if ( gnash::RcInitFile::getDefaultInstance().showASCodingErrors() ) { x; } } |
#define IF_VERBOSE_MALFORMED_SWF | ( | x | ) | { if ( gnash::RcInitFile::getDefaultInstance().showMalformedSWFErrors() ) { x; } } |
#define IF_VERBOSE_NETWORK | ( | x | ) | do { if ( LogFile::getDefaultInstance().getNetwork() ) { x; } } while (0); |
#define IF_VERBOSE_PARSE | ( | x | ) | do { if ( LogFile::getDefaultInstance().getParserDump() ) { x; } } while (0); |
#define LOG_ONCE | ( | x | ) |
#define N_ | ( | String | ) | gettext_noop (String) |
#define VERBOSE_ACTION 1 |
#define VERBOSE_ASCODING_ERRORS 1 |
#define VERBOSE_MALFORMED_SWF 1 |
#define VERBOSE_NETWORKING 1 |
#define VERBOSE_PARSE 1 |