TTK4155 Lab Node 1
Term project in the NTNU course TTK4155 Embedded and Industrial Computer Systems Design
Loading...
Searching...
No Matches
log.h File Reference

Logging interface for debug messages. More...

#include "uart.h"
#include "utils.h"

Go to the source code of this file.

Macros

#define LOG_LEVEL_NONE   0
#define LOG_LEVEL_CRITICAL   1
#define LOG_LEVEL_ERROR   2
#define LOG_LEVEL_INFO   3
#define LOG_LEVEL   LOG_LEVEL_INFO
#define LOG_MODULE_DEFINE(name)
#define LOG_CRITICAL(msg)
#define LOG_INF(msg)
#define LOG_ERR(msg, status)

Functions

static void _log_print_P (PGM_P p)

Variables

static const char log_prefix_critical[] PROGMEM = "CRITICAL: "

Detailed Description

Logging interface for debug messages.

Definition in file log.h.