liballofw
Public Member Functions | Protected Member Functions | List of all members
allofw::ScopedLogger Class Referenceabstract

#include <logger.h>

Inheritance diagram for allofw::ScopedLogger:
allofw::Logger allofw::non_copyable

Public Member Functions

 ScopedLogger ()
 
virtual void setLevelFilter (int minimum_level) override
 
virtual void pushScope (const char *prefix=" ") override
 
virtual void popScope () override
 
virtual void print (int level, const char *string) override
 
virtual void printf (int level, const char *fmt,...) override
 
virtual void vprintf (int level, const char *fmt, va_list args) override
 
 ~ScopedLogger ()
 
- Public Member Functions inherited from allofw::Logger
virtual ~Logger ()
 

Protected Member Functions

virtual void loggerOutput (int level, const char *string)=0
 

Additional Inherited Members

- Static Public Member Functions inherited from allofw::Logger
static LoggerDefault ()
 
- Static Public Attributes inherited from allofw::Logger
static const int kVerbose = 0
 
static const int kInfo = 100
 
static const int kWarning = 200
 
static const int kError = 300
 
static const int kFatal = 400
 

Constructor & Destructor Documentation

allofw::ScopedLogger::ScopedLogger ( )
allofw::ScopedLogger::~ScopedLogger ( )

Member Function Documentation

virtual void allofw::ScopedLogger::loggerOutput ( int  level,
const char *  string 
)
protectedpure virtual
virtual void allofw::ScopedLogger::popScope ( )
overridevirtual

Implements allofw::Logger.

virtual void allofw::ScopedLogger::print ( int  level,
const char *  string 
)
overridevirtual

Implements allofw::Logger.

virtual void allofw::ScopedLogger::printf ( int  level,
const char *  fmt,
  ... 
)
overridevirtual

Implements allofw::Logger.

virtual void allofw::ScopedLogger::pushScope ( const char *  prefix = "    ")
overridevirtual

Implements allofw::Logger.

virtual void allofw::ScopedLogger::setLevelFilter ( int  minimum_level)
overridevirtual

Implements allofw::Logger.

virtual void allofw::ScopedLogger::vprintf ( int  level,
const char *  fmt,
va_list  args 
)
overridevirtual

Implements allofw::Logger.


The documentation for this class was generated from the following file: