JBLogger
Loading...
Searching...
No Matches
jblogger.h File Reference
#include <Arduino.h>
#include <stdarg.h>
#include <string>

Go to the source code of this file.

Classes

class  JBLogger
 Logging class. More...
 

Macros

#define ENABLE_STD_STRING
 Comment this out to disable std::string support.
 
#define JBLOGGER_VERSION   "1.0.5"
 Version of the library.
 
#define MAX_MESSAGE_LENGTH   128
 Maximum length of a formatted log message.
 

Enumerations

enum  LogLevel {
  LOG_LEVEL_NONE = 0 , LOG_LEVEL_ERROR , LOG_LEVEL_WARNING , LOG_LEVEL_INFO ,
  LOG_LEVEL_DEBUG , LOG_LEVEL_TRACE
}
 Log levels. More...
 

Macro Definition Documentation

◆ ENABLE_STD_STRING

#define ENABLE_STD_STRING

Comment this out to disable std::string support.

◆ JBLOGGER_VERSION

#define JBLOGGER_VERSION   "1.0.5"

Version of the library.

◆ MAX_MESSAGE_LENGTH

#define MAX_MESSAGE_LENGTH   128

Maximum length of a formatted log message.

Enumeration Type Documentation

◆ LogLevel

enum LogLevel

Log levels.

Enumerator
LOG_LEVEL_NONE 

No logging.

LOG_LEVEL_ERROR 

Error logging.

LOG_LEVEL_WARNING 

Warning logging.

LOG_LEVEL_INFO 

Info logging.

LOG_LEVEL_DEBUG 

Debug logging.

LOG_LEVEL_TRACE 

Trace logging.