logger

package
v1.5.10 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIEnter

func APIEnter(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

APIEnter logs the given message as APIEnter category

func APIExit

func APIExit(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

APIExit logs the given message as APIExit category

func APIRequest

func APIRequest(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

APIRequest logs the given message as APIRequest category

func APIResponse

func APIResponse(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

APIResponse logs the given message as APIResponse category

func AppRoot

func AppRoot(category string, subcategory string, messageFormat string, parameters ...interface{})

AppRoot logs the given message as AppRoot category

func Initialize

func Initialize() error

Initialize initiates and checks all application logging related function injections

func MethodEnter

func MethodEnter(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

MethodEnter logs the given message as MethodEnter category

func MethodExit

func MethodExit(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

MethodExit logs the given message as MethodExit category

func MethodLogic

func MethodLogic(session sessionModel.Session, logLevel loglevel.LogLevel, category string, subcategory string, messageFormat string, parameters ...interface{})

MethodLogic logs the given message as MethodLogic category

func MethodParameter

func MethodParameter(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

MethodParameter logs the given message as MethodParameter category

func MethodReturn

func MethodReturn(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

MethodReturn logs the given message as MethodReturn category

func NetworkCall added in v1.3.1

func NetworkCall(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

NetworkCall logs the given message as NetworkCall category

func NetworkFinish added in v1.3.1

func NetworkFinish(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

NetworkFinish logs the given message as NetworkFinish category

func NetworkRequest added in v1.3.1

func NetworkRequest(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

NetworkRequest logs the given message as NetworkRequest category

func NetworkResponse added in v1.3.1

func NetworkResponse(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

NetworkResponse logs the given message as NetworkResponse category

Types

type LogFunc added in v1.4.18

type LogFunc func(session sessionModel.Session, category string, subcategory string, messageFormat string, parameters ...interface{})

LogFunc is the function signature of majority of logging functions

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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