LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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: