Photon 1.0.0
Loading...
Searching...
No Matches
spdlog::details::z_formatter< ScopedPadder > Class Template Referencefinal

#include <pattern_formatter-inl.h>

Inheritance diagram for spdlog::details::z_formatter< ScopedPadder >:
spdlog::details::flag_formatter

Public Member Functions

 z_formatter (padding_info padinfo)
 
 z_formatter ()=default
 
 z_formatter (const z_formatter &)=delete
 
z_formatteroperator= (const z_formatter &)=delete
 
void format (const details::log_msg &msg, const std::tm &tm_time, memory_buf_t &dest) override
 
- Public Member Functions inherited from spdlog::details::flag_formatter
 flag_formatter (padding_info padinfo)
 
 flag_formatter ()=default
 
virtual ~flag_formatter ()=default
 

Private Member Functions

int get_cached_offset (const log_msg &msg, const std::tm &tm_time)
 

Private Attributes

log_clock::time_point last_update_ {std::chrono::seconds(0)}
 
int offset_minutes_ {0}
 

Additional Inherited Members

- Protected Attributes inherited from spdlog::details::flag_formatter
padding_info padinfo_
 

Constructor & Destructor Documentation

◆ z_formatter() [1/3]

template<typename ScopedPadder >
spdlog::details::z_formatter< ScopedPadder >::z_formatter ( padding_info  padinfo)
inlineexplicit

◆ z_formatter() [2/3]

template<typename ScopedPadder >
spdlog::details::z_formatter< ScopedPadder >::z_formatter ( )
default

◆ z_formatter() [3/3]

template<typename ScopedPadder >
spdlog::details::z_formatter< ScopedPadder >::z_formatter ( const z_formatter< ScopedPadder > &  )
delete

Member Function Documentation

◆ format()

template<typename ScopedPadder >
void spdlog::details::z_formatter< ScopedPadder >::format ( const details::log_msg msg,
const std::tm &  tm_time,
memory_buf_t dest 
)
inlineoverridevirtual

◆ get_cached_offset()

template<typename ScopedPadder >
int spdlog::details::z_formatter< ScopedPadder >::get_cached_offset ( const log_msg msg,
const std::tm &  tm_time 
)
inlineprivate

◆ operator=()

template<typename ScopedPadder >
z_formatter & spdlog::details::z_formatter< ScopedPadder >::operator= ( const z_formatter< ScopedPadder > &  )
delete

Member Data Documentation

◆ last_update_

template<typename ScopedPadder >
log_clock::time_point spdlog::details::z_formatter< ScopedPadder >::last_update_ {std::chrono::seconds(0)}
private

◆ offset_minutes_

template<typename ScopedPadder >
int spdlog::details::z_formatter< ScopedPadder >::offset_minutes_ {0}
private

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