logger

package
v0.0.0-...-06e1c0a Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package logger handles the logging

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanIP

func CleanIP(s string) string

CleanIP returns a human-readable IP for the logging interface when starting services. It translates [::]:<port> to "localhost:<port>"

func Log

func Log() *logrus.Logger

Log returns the logger instance

func PrettyPrint

func PrettyPrint(i interface{})

PrettyPrint for debugging

Types

This section is empty.

Jump to

Keyboard shortcuts

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