Electroneum
el::CustomFormatSpecifier Class Reference

User-provided custom format specifier. More...

#include <easylogging++.h>

Public Member Functions

 CustomFormatSpecifier (const char *formatSpecifier, const FormatSpecifierValueResolver &resolver)
 
const char * formatSpecifier (void) const
 
const FormatSpecifierValueResolverresolver (void) const
 
bool operator== (const char *formatSpecifier)
 

Detailed Description

User-provided custom format specifier.

See also
el::Helpers::installCustomFormatSpecifier
FormatSpecifierValueResolver

Definition at line 1669 of file easylogging++.h.

Constructor & Destructor Documentation

◆ CustomFormatSpecifier()

el::CustomFormatSpecifier::CustomFormatSpecifier ( const char *  formatSpecifier,
const FormatSpecifierValueResolver resolver 
)
inline

Definition at line 1671 of file easylogging++.h.

1671  :
1672  m_formatSpecifier(formatSpecifier), m_resolver(resolver) {}
const char * formatSpecifier(void) const
const FormatSpecifierValueResolver & resolver(void) const

Member Function Documentation

◆ formatSpecifier()

const char* el::CustomFormatSpecifier::formatSpecifier ( void  ) const
inline

Definition at line 1673 of file easylogging++.h.

1673  {
1674  return m_formatSpecifier;
1675  }
Here is the caller graph for this function:

◆ operator==()

bool el::CustomFormatSpecifier::operator== ( const char *  formatSpecifier)
inline

Definition at line 1679 of file easylogging++.h.

1679  {
1680  return strcmp(m_formatSpecifier, formatSpecifier) == 0;
1681  }
const char * formatSpecifier(void) const
Here is the call graph for this function:

◆ resolver()

const FormatSpecifierValueResolver& el::CustomFormatSpecifier::resolver ( void  ) const
inline

Definition at line 1676 of file easylogging++.h.

1676  {
1677  return m_resolver;
1678  }

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