spdlog
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
spdlog::source_loc Struct Reference

Detailed Description

Definition at line 240 of file common.h.

#include <common.h>

Public Member Functions

SPDLOG_CONSTEXPR source_loc ()=default
 
SPDLOG_CONSTEXPR source_loc (const char *filename_in, int line_in, const char *funcname_in)
 
SPDLOG_CONSTEXPR bool empty () const SPDLOG_NOEXCEPT
 

Public Attributes

const charfilename {nullptr}
 
int line {0}
 
const charfuncname {nullptr}
 

Constructor & Destructor Documentation

◆ source_loc() [1/2]

SPDLOG_CONSTEXPR spdlog::source_loc::source_loc ( )
default

◆ source_loc() [2/2]

SPDLOG_CONSTEXPR spdlog::source_loc::source_loc ( const char filename_in,
int  line_in,
const char funcname_in 
)
inline

Definition at line 243 of file common.h.

Member Function Documentation

◆ empty()

SPDLOG_CONSTEXPR bool spdlog::source_loc::empty ( ) const
inline

Definition at line 249 of file common.h.

Member Data Documentation

◆ filename

const char* spdlog::source_loc::filename {nullptr}

Definition at line 253 of file common.h.

◆ funcname

const char* spdlog::source_loc::funcname {nullptr}

Definition at line 255 of file common.h.

◆ line

int spdlog::source_loc::line {0}

Definition at line 254 of file common.h.


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