Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ersa::services::StandardLoggingService Class Reference
Inheritance diagram for ersa::services::StandardLoggingService:
Inheritance graph
[legend]
Collaboration diagram for ersa::services::StandardLoggingService:
Collaboration graph
[legend]

Public Member Functions

void log (LogLevel level, const char *tag, const char *format,...) override
 
void logv (LogLevel level, const char *tag, const char *format, va_list args) override
 
- Public Member Functions inherited from ersa::services::LoggingService
virtual ~LoggingService ()=default
 
virtual void setLevel (LogLevel level)
 
virtual LogLevel getLevel () const
 Return the current minimum severity.
 

Additional Inherited Members

- Static Public Member Functions inherited from ersa::services::LoggingService
static LoggingService & instance ()
 
static void setInstance (LoggingService *instance)
 
- Protected Attributes inherited from ersa::services::LoggingService
LogLevel minLevel_ {LogLevel::Info}
 

Member Function Documentation

◆ log()

void ersa::services::StandardLoggingService::log ( LogLevel  level,
const char *  tag,
const char *  format,
  ... 
)
inlineoverridevirtual

Format and emit a message when severity is at least the configured level. format and arguments follow printf rules; tag identifies the source subsystem and should be a stable short label.

Reimplemented from ersa::services::LoggingService.

◆ logv()

void ersa::services::StandardLoggingService::logv ( LogLevel  level,
const char *  tag,
const char *  format,
va_list  args 
)
inlineoverridevirtual

Same filtering/format behavior as log(), accepting a va_list for adapters.

Implements ersa::services::LoggingService.


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