14#ifndef __ECU_LOGGING_H__
15#define __ECU_LOGGING_H__
20#define _LogPrebuildString(x) x
27#if CONF_LOGGING_ASCII_DEBUG
29#include "usb_serial.h"
34#if CONF_LOGGING_MAPPED_MODE > 0
uint32_t TAG2NUM(LOG_TAG tagValue)
Return the final numbervalue of a LOG_TAG.
const char * LOG_MSG
Type definition for logging messages, only used internally.
const char * LOG_TAG
Type definition of logging tags This typedef is necessary to allow for easier manipulation of code by...
Logging::Log_t Log
The global logging object.
Configuration file for the Log Module.
Namespace to isolate Log_t struct.
void enableCanbusRelay()
If a set address is received through canbus, the data will be pushed to a buffer to be printed.
void printLookup()
Print the ZLib compressed string of the current lookup table to serial.
Base class used to log things over serial.
void operator()(LOG_TAG TAG, LOG_MSG message)
Log a string usb serial.
void operator()(LOG_TAG TAG, LOG_MSG message, const uint32_t number, int mediate=false)
Log a string and a variable number to usb serial.
void d(LOG_TAG TAG, LOG_MSG message, const uint32_t number, int mediate=false)
Log a string and a variable number using a debug tag.
void d(LOG_TAG TAG, LOG_MSG message)
Log a string using a debug tag.
void w(LOG_TAG TAG, LOG_MSG message)
Log a string using a warning tag.
void e(LOG_TAG TAG, LOG_MSG message)
Log a string using an error tag.
void i(LOG_TAG TAG, LOG_MSG message, const uint32_t number, int mediate=false)
Log a string and a variable number using an info tag.
void f(LOG_TAG TAG, LOG_MSG message, const uint32_t number, int mediate=false)
Log a string and a variable number using a fatal tag.
void i(LOG_TAG TAG, LOG_MSG message)
Log a string using an info tag.
void e(LOG_TAG TAG, LOG_MSG message, const uint32_t number, int mediate=false)
Log a string and a variable number using an error tag.
void w(LOG_TAG TAG, LOG_MSG message, const uint32_t number, int mediate=false)
Log a string and a variable number using a warning tag.
void p(LOG_TAG name, LOG_MSG prettyName, const uint32_t number, int mediate=false)
Post a monitored value.
void f(LOG_TAG TAG, LOG_MSG message)
Log a string using a fatal tag.