fw4spl
fwLog::Log Class Reference

Log. More...

#include <Log.hpp>

+ Inheritance diagram for fwLog::Log:
+ Collaboration diagram for fwLog::Log:

Public Types

enum  LevelType { INFORMATION = 0, WARNING = 5, CRITICAL = 10 }
 

Public Member Functions

FWLOG_API Log (LevelType level, const std::string &message)
 Constructor.
 
FWLOG_API ~Log ()
 Destructor.
 
void setLevel (LevelType level)
 Set Log level.
 
LevelType getLevel () const
 Get Log level.
 
void setMessage (std::string message)
 Set Log message.
 
const std::string getMessage () const
 
- Public Member Functions inherited from fwCore::BaseObject
virtual bool isA (const std::string &type) const
 
virtual const std::string & getLeafClassname () const
 return object's classname without its namespace, i.e. BaseObject
 
virtual const std::string & getClassname () const
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 

Protected Attributes

LevelType m_level
 Log level.
 
std::string m_message
 Log message.
 

Additional Inherited Members

- Static Public Member Functions inherited from fwCore::BaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Detailed Description

Log.

Log class used to retrieve information to the user

Definition at line 23 of file Log.hpp.


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