LoggerBase

class kanzi::connect::LoggerBase

This is a base class for connect specific loggers.

not to be used as is.

Public Types

enum [anonymous]

Values:

enumerator FeatureTimestamp

Timestamp will be logged.

enumerator FeatureLevel

Log level (INF, ERR, WRN etc will be logged).

enumerator FeatureThreadId

Thread identifier will be logged.

enumerator FeatureLocation

Logging location (file:linenumber) will be added to end ot the logrow.

enumerator FeatureFilenameAsTag

Use plain filename (c:\temp\log.cpp -> [log]) as logging token.

Public Functions

LoggerBase(LogLevel &dynamicLogLevel, uint32_t &features)

Dynamic log level.

Parameters
  • dynamicLogLevel: reference to variable that will hold the dynamic loglevel.