Skip to content

FLog is a multi file logging system that support silent logging so your terminals arent flogged (Get it?) Mainly built for webservers but can be used for anything.

License

Notifications You must be signed in to change notification settings

GlobalBans-Authority/flog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FLog - A Simple Farmers Logger

FLog is a straightforward logger for Go that keeps things simple, just like logging should be.

Features:

  • Multiple log levels (Error, Warn, Info, Debug, Success)
  • Color-coded console output from RGB
  • Concurrent file logging with buffered writes
  • Automatic log file rotation
  • Silent logging option
  • Caller information tracking
  • Formatted logging support
  • Built to "Make Loggers Great Again."
  • Level Sanitization
  • Custom log levels
  • yada yada no one reads this far into the read me anyways

most this above should work, what do i look like to you? a devoloper?

Upcoming features

  • Log Sanitization
  • Configs for all above

Usage

GO Version: 1.22 windows/amd64

Quick Start

Installing

go get github.com/GlobalBans-Authority/flog/v2@latest

Basic Usage

// Basic logging
import "github.com/GlobalBans-Authority/flog/v2"

...
flog.Init(flog.Default()) // Initialize the logger with default settings (Fastest)
flog.Info("Starting application...")
flog.Error("An error occurred:", err)

Known issues

Working on it...

Contribution

  • Is there a part of FLog you want to tackle?
  • Some code you would like to refactor?
  • Got an idea you would like to share/implement?

Feel free to create a fork, open a pull request, and request a review: We are open to any contribution!

To keep your fork up-to-date, we recommend using Pull!

About

FLog is a multi file logging system that support silent logging so your terminals arent flogged (Get it?) Mainly built for webservers but can be used for anything.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages