LOGGER  Logger
Data Logging using ESP8266
Macros
error.h File Reference

Message and Error reporting support services. More...

Go to the source code of this file.

Macros

#define MSG_MORE   Serial.print
 < version of this include file More...
 
#define MSG_END   Serial.println
 End message (started with one of the functions below).
 
#define MESSAGE   Serial.print
 
#define WARNING   Serial.print("? WARNING: "); Serial.print
 
#define ERROR   Serial.print("? ERROR: "); Serial.print
 
#define BUG   Serial.print("? BUG: "); Serial.print
 

Detailed Description

Message and Error reporting support services.

Error and mesage reporting macros and function declarations.

When a message is sent it is emitted to the console and is also sent as a message to the fmsvue interface so it will be reported to the Service Application. Eventually the service routines will be enhanced to log errors on the platform so they can be reported across the history of program usage.

Author
Michael Newman
Version
V1.0.1
Date
20Jan2016
Attention

© COPYRIGHT(c) 2016 by Dragonnorth Group

Macro Definition Documentation

#define BUG   Serial.print("? BUG: "); Serial.print

Print a bug report to an error output stream

Parameters
...same arguments as Serial.print
#define ERROR   Serial.print("? ERROR: "); Serial.print

Print an error report to an error output stream

Parameters
...same arguments as Serial.print
#define MESSAGE   Serial.print

Print a warning report to an error output stream

Parameters
...same arguments as Serial.print
#define MSG_MORE   Serial.print

< version of this include file

Print continuation to previous message (started with one of the functions below.

Parameters
...same arguments as Serial.print
#define WARNING   Serial.print("? WARNING: "); Serial.print

Print a warning report to an error output stream

Parameters
...same arguments as Serial.print