log

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

README

log_service

Testing logging services and setting up a simple zap logger that can be reused by multiple different types of systems.

Documentation

Index

Constants

This section is empty.

Variables

Setting up variables for logging

Functions

func GetLevel

func GetLevel() (string, error)

GetLevel allows for getting the current logging level Do we want to catch an error here and return it??????? If not, let's not add an error return

func GetLogLevel

func GetLogLevel(g gin.Context)

func SetLevel

func SetLevel(level string) error

SetLevel allows for setting the log level on the fly

func SetLogLevel

func SetLogLevel(g gin.Context)

Handlers for settings and getting the logs

Types

This section is empty.

Jump to

Keyboard shortcuts

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