log.h File Reference

#include <fstream>
#include "tu_config.h"

Go to the source code of this file.

Namespaces

namespace  gnash

Classes

class  gnash::Verbose
class  gnash::LogFile
class  gnash::__Host_Function_Report__

Defines

#define DEFAULT_LOGFILE   "gnash-dbg.log"
#define TIMESTAMP_LENGTH   24
#define TIMESTAMP_FORMAT   "%Y-%m-%d %H:%M:%S "
#define SIZET_FMT   "%d"
#define TRACELEVEL   2
#define VERBOSE_PARSE   1
#define VERBOSE_ACTION   1
#define VERBOSE_MALFORMED_SWF
#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_ASCODING_ERRORS(x)
#define IF_VERBOSE_MALFORMED_SWF(x)   {x}
#define GNASH_REPORT_FUNCTION   log_trace("entering")
#define GNASH_REPORT_RETURN   log_trace("returning")

Functions

std::ostream & gnash::stampon (std::ostream &x)
std::ostream & gnash::stampoff (std::ostream &x)
std::ostream & gnash::timestamp (std::ostream &x)
std::ostream & gnash::datetimestamp (std::ostream &x)
unsigned char * gnash::hexify (unsigned char *p, const unsigned char *s, int length, bool ascii)
void gnash::log_msg (const char *fmt,...)
void gnash::log_error (const char *fmt,...)
void gnash::log_warning (const char *fmt,...)
void gnash::log_trace (const char *fmt,...)
void gnash::log_action (const char *fmt,...)
void gnash::log_parse (const char *fmt,...)
void gnash::log_security (const char *fmt,...)


Define Documentation

#define DEFAULT_LOGFILE   "gnash-dbg.log"
 

#define GNASH_REPORT_FUNCTION   log_trace("entering")
 

#define GNASH_REPORT_RETURN   log_trace("returning")
 

#define IF_VERBOSE_ACTION  )     do { if ( LogFile::getDefaultInstance().getActionDump() ) { x; } } while (0);
 

#define IF_VERBOSE_ASCODING_ERRORS  ) 
 

#define IF_VERBOSE_MALFORMED_SWF  )     {x}
 

#define IF_VERBOSE_PARSE  )     do { if ( LogFile::getDefaultInstance().getParserDump() ) { x; } } while (0);
 

#define SIZET_FMT   "%d"
 

#define TIMESTAMP_FORMAT   "%Y-%m-%d %H:%M:%S "
 

#define TIMESTAMP_LENGTH   24
 

#define TRACELEVEL   2
 

#define VERBOSE_ACTION   1
 

#define VERBOSE_MALFORMED_SWF
 

#define VERBOSE_PARSE   1
 


Generated on Thu Nov 23 22:31:32 2006 for Gnash by  doxygen 1.4.6