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

Public Member Functions

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

Public Attributes

std::string_view file_
 
std::string header_
 
int level_
 
unsigned line_
 
bool linefeed_
 
std::string payload_
 
std::string_view tag_
 

Detailed Description

Definition at line 183 of file logger.cpp.

Constructor & Destructor Documentation

◆ Msg() [1/4]

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

◆ Msg() [2/4]

jami::Logger::Msg::Msg ( int  level,
std::string_view  file,
unsigned  line,
bool  linefeed,
std::string_view  tag,
std::string &&  message 
)
inline

Definition at line 187 of file logger.cpp.

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

Here is the call graph for this function:

◆ Msg() [3/4]

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

Definition at line 197 of file logger.cpp.

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

Here is the call graph for this function:

◆ Msg() [4/4]

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

Member Function Documentation

◆ operator=()

Msg & jami::Logger::Msg::operator= ( Msg &&  other)
default

Member Data Documentation

◆ file_

std::string_view jami::Logger::Msg::file_

Definition at line 210 of file logger.cpp.

Referenced by Msg(), and Msg().

◆ header_

std::string jami::Logger::Msg::header_

Definition at line 216 of file logger.cpp.

Referenced by Msg(), and Msg().

◆ level_

int jami::Logger::Msg::level_

Definition at line 214 of file logger.cpp.

Referenced by Msg(), and Msg().

◆ line_

unsigned jami::Logger::Msg::line_

Definition at line 211 of file logger.cpp.

Referenced by Msg(), and Msg().

◆ linefeed_

bool jami::Logger::Msg::linefeed_

Definition at line 215 of file logger.cpp.

Referenced by Msg(), and Msg().

◆ payload_

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

Definition at line 213 of file logger.cpp.

Referenced by Msg(), and Msg().

◆ tag_

std::string_view jami::Logger::Msg::tag_

Definition at line 212 of file logger.cpp.

Referenced by Msg(), and Msg().


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