Back to index

nux  3.0.0
Public Member Functions | Private Attributes
nux::logging::Logger Class Reference

#include <Logger.h>

List of all members.

Public Member Functions

 Logger (std::string const &module)
std::string const & module () const
bool IsErrorEnabled () const
bool IsWarningEnabled () const
bool IsInfoEnabled () const
bool IsDebugEnabled () const
bool IsTraceEnabled () const
void SetLogLevel (Level level)
Level GetLogLevel () const
Level GetEffectiveLogLevel () const

Private Attributes

LoggerModulePtr pimpl

Detailed Description

Definition at line 115 of file Logger.h.


Constructor & Destructor Documentation

nux::logging::Logger::Logger ( std::string const &  module) [explicit]

Definition at line 144 of file Logger.cpp.

  : pimpl(LoggerModules::Instance().GetModule(module))
{
}

Member Function Documentation

Definition at line 189 of file Logger.cpp.

{
  return pimpl->GetEffectiveLogLevel();
}

Here is the caller graph for this function:

Definition at line 184 of file Logger.cpp.

{
  return pimpl->GetLogLevel();
}

Definition at line 169 of file Logger.cpp.

{
  return pimpl->IsDebugEnabled();
}

Definition at line 154 of file Logger.cpp.

{
  return pimpl->IsErrorEnabled();
}

Definition at line 164 of file Logger.cpp.

{
  return pimpl->IsInfoEnabled();
}

Definition at line 174 of file Logger.cpp.

{
  return pimpl->IsTraceEnabled();
}

Definition at line 159 of file Logger.cpp.

{
  return pimpl->IsWarningEnabled();
}
std::string const & nux::logging::Logger::module ( ) const

Definition at line 149 of file Logger.cpp.

{
  return pimpl->module();
}

Here is the caller graph for this function:

Definition at line 179 of file Logger.cpp.

{
  pimpl->SetLogLevel(level);
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 133 of file Logger.h.


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