reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::Log::Guard Class Reference

Implementation for logging macros. More...

#include <Log.hxx>

Public Member Functions

 Guard (Level level, const Subsystem &system, const char *file, int line, const char *methodName)
 Remember the logging values and be a a stream to receive the log contents.
 
 ~Guard ()
 Commit logging.
 
EncodeStream & asStream ()
 
 operator EncodeStream & ()
 

Detailed Description

Implementation for logging macros.

Log::Guard(Log::Info, Subsystem::TEST, FILE, LINE, func) << ... ;

Definition at line 105 of file Log.hxx.

Constructor & Destructor Documentation

◆ Guard()

Log::Guard::Guard ( Level  level,
const Subsystem &  system,
const char *  file,
int  line,
const char *  methodName 
)

Remember the logging values and be a a stream to receive the log contents.

Definition at line 1079 of file Log.cxx.

◆ ~Guard()

Log::Guard::~Guard ( )

Commit logging.

Definition at line 1111 of file Log.cxx.

Member Function Documentation

◆ asStream()

EncodeStream & resip::Log::Guard::asStream ( )
inline

Definition at line 119 of file Log.hxx.

◆ operator EncodeStream &()

resip::Log::Guard::operator EncodeStream & ( )
inline

Definition at line 120 of file Log.hxx.


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