Arduino TinyFTP
Static Public Member Functions | Static Protected Attributes | List of all members
ftp_client::FTPLogger Class Reference

FTPLogger To activate logging define the output stream e.g. with FTPLogger.setOutput(Serial); and (optionally) set the log level. More...

#include <ArduinoFTPClient.h>

Static Public Member Functions

static void setLogLevel (LogLevel level)
 FTPLogger To activate logging define the output stream e.g. with FTPLogger.setOutput(Serial); and optionally set the log level.
 
static LogLevel getLogLevel ()
 
static void setOutput (Stream &out)
 
static void writeLog (LogLevel level, const char *module, const char *msg=nullptr)
 

Static Protected Attributes

static LogLevel min_log_level = LOG_ERROR
 
static Stream * out_ptr = nullptr
 

Detailed Description

FTPLogger To activate logging define the output stream e.g. with FTPLogger.setOutput(Serial); and (optionally) set the log level.


The documentation for this class was generated from the following files: