package app
import "github.com/restoflife/log"
func Init() {
log.New(&log.Config{
Level: "error",
Filename: "error.log",
})
defer log.Sync()
log.Info("info","info")
}
Self-use log encapsulation for golang
Overview
Releases(v1.9.7)
-
v1.9.7(Jan 11, 2022)
-
1.9.7(Jan 11, 2022)
-
v1.2.0(Jan 11, 2022)
-
v1.1.0(Jan 11, 2022)
add orm log
Source code(tar.gz)
Source code(zip)
-
v1.0.0(Dec 29, 2021)
Zapctx: an encapsulation of zap, adding WithContext to the logger
Abstract zapctx is an encapsulation of zap, adding WithContext to the logger. Fe
An golang log lib, supports tracking and level, wrap by standard log lib
Logex An golang log lib, supports tracing and level, wrap by standard log lib How To Get shell go get gopkg.in/logex.v1 source code import "gopkg.in/
Distributed-Log-Service - Distributed Log Service With Golang
Distributed Log Service This project is essentially a result of my attempt to un
Log-analyzer - Log analyzer with golang
Log Analyzer what do we have here? Objective Installation and Running Applicatio
Nginx-Log-Analyzer is a lightweight (simplistic) log analyzer for Nginx.
Nginx-Log-Analyzer is a lightweight (simplistic) log analyzer, used to analyze Nginx access logs for myself.
A simple to use log system, minimalist but with features for debugging and differentiation of messages
A simple to use log system, minimalist but with features for debugging and differentiation of messages
a golang log lib supports level and multi handlers
go-log a golang log lib supports level and multi handlers Use import "github.com/siddontang/go-log/log" //log with different level log.Info("hello wo
Simple log parser written in Golang
Simple log parser written in Golang
Log to cloud object storage for golang. Zap extension.
cos-logger Log to cloud object storage for golang implemented as io.Writer. Use it as a plugin/extension to uber-go/zap logger Configure logger and ad
Go-logging-logrus - Learn how to log management in golang with logrus
Learn how to logging in golang with logrus How to run this project git clone htt
Tlog - Golang log but via telegram bot support
tlog golang log but via telegram bot support how to use tlog.LinkBot("token", "c
Structured log interface
Structured log interface Package log provides the separation of the logging interface from its implementation and decouples the logger backend from yo
lumberjack is a log rolling package for Go
lumberjack Lumberjack is a Go package for writing logs to rolling files. Package lumberjack provides a rolling logger. Note that this is v2.0 of lumbe
CoLog is a prefix-based leveled execution log for Go
What's CoLog? CoLog is a prefix-based leveled execution log for Go. It's heavily inspired by Logrus and aims to offer similar features by parsing the
OpenTelemetry log collection library
opentelemetry-log-collection Status This project was originally developed by observIQ under the name Stanza. It has been contributed to the OpenTeleme
A simple web service for storing text log files
logpaste A minimalist web service for uploading and sharing log files. Run locally go run main.go Run in local Docker container The Docker container a
exo: a process manager & log viewer for dev
exo: a process manager & log viewer for dev exo- prefix – external; from outside. Features Procfile compatible process manager.
Write log entries, get X-Ray traces.
logtoxray Write to logs, get X-Ray traces. No distributed tracing instrumenation library required. ?? ?? ?? THIS PROJECT IS A WORK-IN-PROGRESS PROTOTY
Binalyze logger is an easily customizable wrapper for logrus with log rotation
logger logger is an easily customizable wrapper for logrus with log rotation Usage There is only one function to initialize logger. logger.Init() When