LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Public Member Functions | Private Member Functions | List of all members
lsst.log::LogContext Class Reference

#include <Log.h>

Public Member Functions

 LogContext (std::string const &name)
 
 ~LogContext ()
 

Private Member Functions

 LogContext (const LogContext &)
 
LogContextoperator= (const LogContext &)
 

Detailed Description

This class handles the default logger name of a logging context.

Definition at line 522 of file Log.h.

Constructor & Destructor Documentation

lsst.log::LogContext::LogContext ( std::string const &  name)
inlineexplicit

Create a logging context associated with a default logger name constructed by pushing name onto the pre-existing hierarchical default logger name. See comment to LOG_PUSHCTX about allowed names.

Parameters
nameString to push onto logging context.

Definition at line 530 of file Log.h.

530  {
532  }
static void pushContext(std::string const &name)
Definition: Log.cc:221
lsst.log::LogContext::~LogContext ( )
inline

Definition at line 533 of file Log.h.

533  {
534  Log::popContext();
535  }
static void popContext(void)
Definition: Log.cc:248
lsst.log::LogContext::LogContext ( const LogContext )
private

Member Function Documentation

LogContext& lsst.log::LogContext::operator= ( const LogContext )
private

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