Skip to content

ayo-ajayi/logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A lightweight and thread-safe logger for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages