From ea70eb6fedb68b4f18383601aa78113ac45ca582 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Wed, 24 Feb 2021 22:38:46 +0100 Subject: [PATCH] Code formatting --- lib/ArduinoLog/ArduinoLog.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/ArduinoLog/ArduinoLog.h b/lib/ArduinoLog/ArduinoLog.h index 68060baa..921a92db 100644 --- a/lib/ArduinoLog/ArduinoLog.h +++ b/lib/ArduinoLog/ArduinoLog.h @@ -17,12 +17,12 @@ Licensed under the MIT License . #include #include #if defined(ARDUINO) && ARDUINO >= 100 - #include "Arduino.h" +#include "Arduino.h" #else - #include "WProgram.h" +#include "WProgram.h" #endif //#include "StringStream.h" -typedef void (*printfunction)(uint8_t tag, int level, Print *); +typedef void (*printfunction)(uint8_t tag, int level, Print*); //#include //#include @@ -92,7 +92,7 @@ class Logging { */ Logging() #ifndef DISABLE_LOGGING - // : _level(LOG_LEVEL_SILENT), _showLevel(true) + // : _level(LOG_LEVEL_SILENT), _showLevel(true) #endif {} @@ -116,7 +116,7 @@ class Logging { * \return void * */ - void registerOutput(uint8_t slot, Print * logOutput, int level, bool showLevel); + void registerOutput(uint8_t slot, Print* logOutput, int level, bool showLevel); /** * Unregister the printer in a certain slot @@ -311,11 +311,11 @@ class Logging { } private: - void print(Print * logOutput, const char * format, va_list args); + void print(Print* logOutput, const char* format, va_list args); - void print(Print * logOutput, const __FlashStringHelper * format, va_list args); + void print(Print* logOutput, const __FlashStringHelper* format, va_list args); - void printFormat(Print * logOutput, const char format, va_list * args); + void printFormat(Print* logOutput, const char format, va_list* args); template void printLevel(uint8_t tag, int level, T msg, ...) { @@ -343,7 +343,7 @@ class Logging { #ifndef DISABLE_LOGGING int _level[3]; bool _showLevel[3]; - Print * _logOutput[3]; + Print* _logOutput[3]; printfunction _prefix = NULL; printfunction _suffix = NULL;