tftp_logger(3)

NAME
tftp_logger - Trivial FTP logger.

DESCRIPTION

A tftp_logger callback module is to be implemented as a tftp_logger behavior and export the following functions:

EXPORTS

Module:error_msg(Format, Data) -> ok

    Types:
        Format = string()
        Data = [term()]
        Reason = term()

    Logs an error message. See error_logger:error_msg/2 for details.

Module:info_msg(Format, Data) -> ok

    Types:
        Format = string()
        Data = [term()]
        Reason = term()

    Logs an info message. See error_logger:info_msg/2 for details.

Module:warning_msg(Format, Data) -> ok

    Types:
        Format = string()
        Data = [term()]
        Reason = term()

    Logs a warning message. See error_logger:warning_msg/2 for details.