Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::Logger::Msg Struct Reference
Collaboration diagram for jami::Logger::Msg:
Collaboration graph

Public Member Functions

std::string header () const
 
 Msg ()=delete
 
 Msg (int level, const char *file, int line, bool linefeed, const char *fmt, va_list ap)
 
 Msg (int level, const char *file, int line, bool linefeed, std::string &&message)
 
 Msg (Msg &&other)
 

Public Attributes

const char * file_
 
int level_
 
unsigned line_
 
bool linefeed_
 
std::string payload_
 

Detailed Description

Definition at line 184 of file logger.cpp.

Constructor & Destructor Documentation

◆ Msg() [1/4]

jami::Logger::Msg::Msg ( )
delete

◆ Msg() [2/4]

jami::Logger::Msg::Msg ( int  level,
const char *  file,
int  line,
bool  linefeed,
std::string &&  message 
)
inline

Definition at line 188 of file logger.cpp.

References file_, level_, line_, linefeed_, payload_, and jami::stripDirName().

Here is the call graph for this function:

◆ Msg() [3/4]

jami::Logger::Msg::Msg ( int  level,
const char *  file,
int  line,
bool  linefeed,
const char *  fmt,
va_list  ap 
)
inline

Definition at line 196 of file logger.cpp.

References file_, jami::formatPrintfArgs(), level_, line_, linefeed_, payload_, and jami::stripDirName().

Here is the call graph for this function:

◆ Msg() [4/4]

jami::Logger::Msg::Msg ( Msg &&  other)
inline

Definition at line 204 of file logger.cpp.

References file_, level_, line_, linefeed_, and payload_.

Member Function Documentation

◆ header()

std::string jami::Logger::Msg::header ( ) const
inline

Definition at line 213 of file logger.cpp.

References file_, jami::formatHeader(), and line_.

Here is the call graph for this function:

Member Data Documentation

◆ file_

const char* jami::Logger::Msg::file_

Definition at line 217 of file logger.cpp.

Referenced by header(), Msg(), Msg(), and Msg().

◆ level_

int jami::Logger::Msg::level_

Definition at line 220 of file logger.cpp.

Referenced by Msg(), Msg(), and Msg().

◆ line_

unsigned jami::Logger::Msg::line_

Definition at line 218 of file logger.cpp.

Referenced by header(), Msg(), Msg(), and Msg().

◆ linefeed_

bool jami::Logger::Msg::linefeed_

Definition at line 221 of file logger.cpp.

Referenced by Msg(), Msg(), and Msg().

◆ payload_

std::string jami::Logger::Msg::payload_

Definition at line 219 of file logger.cpp.

Referenced by Msg(), Msg(), and Msg().


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