AOSharedServiceLibrary
Public Member Functions | List of all members
LoggingInterface Class Referenceabstract

An overall logging interface, which can generate logging categories. More...

#include <logging_interface.h>

Public Member Functions

virtual void debug (std::string msg)=0
 Log at a debug level to the root category. More...
 
virtual void error (std::string msg)=0
 Log at an error level to the root category. More...
 
virtual void info (std::string msg)=0
 Log at an info level to the root category. More...
 
virtual void debug (const char *msg)=0
 Log at an debug level to the root category. More...
 
virtual void error (const char *msg)=0
 Log at an error level to the root category. More...
 
virtual void info (const char *msg)=0
 Log at an info level to the root category. More...
 
virtual void debug (int msg)=0
 Log at an debug level to the root category. More...
 
virtual void error (int msg)=0
 Log at an error level to the root category. More...
 
virtual void info (int msg)=0
 Log at an info level to the root category. More...
 
virtual void debug (float msg)=0
 Log at an debug level to the root category. More...
 
virtual void error (float msg)=0
 Log at an error level to the root category. More...
 
virtual void info (float msg)=0
 Log at an info level to the root category. More...
 
virtual void debug (double msg)=0
 Log at an debug level to the root category. More...
 
virtual void error (double msg)=0
 Log at an error level to the root category. More...
 
virtual void info (double msg)=0
 Log at an info level to the root category. More...
 
virtual LoggingCategoryInterfaceget_category (std::string name)=0
 

Detailed Description

An overall logging interface, which can generate logging categories.

Member Function Documentation

virtual void LoggingInterface::debug ( std::string  msg)
pure virtual

Log at a debug level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::debug ( const char *  msg)
pure virtual

Log at an debug level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::debug ( int  msg)
pure virtual

Log at an debug level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::debug ( float  msg)
pure virtual

Log at an debug level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::debug ( double  msg)
pure virtual

Log at an debug level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::error ( std::string  msg)
pure virtual

Log at an error level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::error ( const char *  msg)
pure virtual

Log at an error level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::error ( int  msg)
pure virtual

Log at an error level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::error ( float  msg)
pure virtual

Log at an error level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::error ( double  msg)
pure virtual

Log at an error level to the root category.

Parameters
msgThe message to print to the log appenders
virtual LoggingCategoryInterface* LoggingInterface::get_category ( std::string  name)
pure virtual

Pull down different categories by name. If we were configured from a Properties file, then we should pull the category names from there. Otherwise, this method will create a new category with the given name

Parameters
nameThe name of the logging category
virtual void LoggingInterface::info ( std::string  msg)
pure virtual

Log at an info level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::info ( const char *  msg)
pure virtual

Log at an info level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::info ( int  msg)
pure virtual

Log at an info level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::info ( float  msg)
pure virtual

Log at an info level to the root category.

Parameters
msgThe message to print to the log appenders
virtual void LoggingInterface::info ( double  msg)
pure virtual

Log at an info level to the root category.

Parameters
msgThe message to print to the log appenders

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