logger

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Reset  = "\033[0m"
	Red    = "\033[31m"
	Green  = "\033[32m"
	Yellow = "\033[33m"
	White  = "\033[97m"
)

Functions

func Error

func Error(message interface{})

func Info

func Info(message interface{})

func Init

func Init(fileName string, maxSize int64) error

we initialise this in the target project by calling logger.init and passing in the parameters required to store the log data

func RuntimeError

func RuntimeError(message interface{})

func RuntimeInfo added in v1.0.5

func RuntimeInfo(message interface{})

func Success

func Success(message interface{})

func Warning

func Warning(message interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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