logger

package
v4.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package logger provides functionality around debug outputs/logging of API communication

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILogger

type ILogger interface {
	Log(post string, r *R.Response, errormsg ...string)
}

ilogger reflect basic interface for loggers

type Logger

type Logger struct{}

Logger is a struct representing logger for API communication.

func NewLogger

func NewLogger() *Logger

NewLogger represents the constructor for struct Logger.

func (*Logger) Log

func (c *Logger) Log(post string, r *R.Response, errormsg ...string)

Log method to ouput/log api communication

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL