LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
logicalaccess::LogContext Class Reference

#include <logs.hpp>

Public Member Functions

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

Detailed Description

A class that push a string into the current logger's context at construction, and pop it at deletion.

The direct use of this class is discouraged and the macro LLA_LOG_CTX(...) should be used to push some context to the logger.

Constructor & Destructor Documentation

◆ LogContext()

logicalaccess::LogContext::LogContext ( const std::string &  msg)
explicit

◆ ~LogContext()

logicalaccess::LogContext::~LogContext ( )

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