tobozo / ESP32-targz

🗜️ An Arduino library to unpack/uncompress tar, gz, and tar.gz files on ESP32 and ESP8266
Other
118 stars 15 forks source link

Macro to disable Logs #13

Closed darshanmirajkar closed 3 years ago

darshanmirajkar commented 3 years ago

Hello,

Please Add the Macro to disable tar_error_logger and tar_debug_logger. Since i am using this library from Platform IO i can use it in .ini file

tobozo commented 3 years ago

Hello,

There's no 'macro' for that but two functions you can use to make the decompression more silent on Serial:

setProgressCallback( targzNullProgressCallback );

setLoggerCallback( targzNullLoggerCallback );
darshanmirajkar commented 3 years ago

Thank you... I'll chek this and let you know

darshanmirajkar commented 3 years ago

Thank you... It is working