customlogger

package
v4.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package customlogger 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 CustomLogger

type CustomLogger struct {
	*L.Logger
}

Logger is a struct representing logger for API communication.

func NewCustomLogger

func NewCustomLogger() *CustomLogger

NewLogger represents the constructor for struct Logger.

func (*CustomLogger) Log

func (c *CustomLogger) 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