spdlog
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
spdlog::details::z_formatter< ScopedPadder > Class Template Referencefinal

Detailed Description

template<typename ScopedPadder>
class spdlog::details::z_formatter< ScopedPadder >

Definition at line 595 of file pattern_formatter-inl.h.

#include <pattern_formatter-inl.h>

Inheritance diagram for spdlog::details::z_formatter< ScopedPadder >:
[legend]

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
 

Protected Attributes

padding_info padinfo_
 

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}
 

Constructor & Destructor Documentation

◆ z_formatter() [1/3]

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

Definition at line 598 of file pattern_formatter-inl.h.

◆ 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

Implements spdlog::details::flag_formatter.

Definition at line 606 of file pattern_formatter-inl.h.

◆ 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

Definition at line 632 of file pattern_formatter-inl.h.

◆ 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

Definition at line 629 of file pattern_formatter-inl.h.

◆ offset_minutes_

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

Definition at line 630 of file pattern_formatter-inl.h.

◆ padinfo_

padding_info spdlog::details::flag_formatter::padinfo_
protectedinherited

Definition at line 61 of file pattern_formatter.h.


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