modulepackage
0.0.0-20240721105024-cf7d4c2f96be
Repository: https://github.com/ayo-ajayi/logger.git
Documentation: pkg.go.dev
# README
logger
A lightweight and thread-safe logger for Go based on log.c. This logger is designed to provide a simple yet powerful logging mechanism for Go applications, supporting multiple log levels and custom callbacks.
Installation
go get github.com/ayo-ajayi/logger
Usage
Import the package into your code:
import "github.com/ayo-ajayi/logger"
func main(){
log := logger.NewLogger(logger.INFO, false)
world:="world"
log.Info("Hello %s", world)
}
License
This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details.
Author
# Packages
No description provided by the author
# Functions
No description provided by the author
# Interfaces
No description provided by the author