Skip to content

dar8900/SerialLogger

Repository files navigation

ARDUINO SERIAL LOG

Library to print debug serial message in arduino environment

USAGE

Initialize the library with the Baudrate setted and optionally enable the debug print

SerialDebug(baudrate Baudrate, bool LogEnabled);

Initialize all the variables, mandatory

void init();

Set the debug level

void setDebugLevel(debug_level DebugLevel = all);

Enable/disable the logging

void setLogStatus(bool Enable);

Show the time passed in the log

void setTimePrint(bool Enable);

Log only errors log

void logError(DebugString Message, bool NewLine = true);

Log only info log

void logInfo(DebugString Message, bool NewLine = true);

Log only verbose log

void logVerbose(DebugString Message, bool NewLine = true);

Log only debug log

void logDebug(DebugString Message, bool NewLine = true);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages