Popularity
1.4
Stable
Activity
0.0
Stable
11
2
3
Programming language: Go
Tags:
Logging
logdump alternatives and similar packages
Based on the "Logging" category.
Alternatively, view logdump alternatives based on common mentions on social networks and blogs.
-
spew
Implements a deep pretty printer for Go data structures to aid in debugging -
seelog
Seelog is a native Go logging library that provides flexible asynchronous dispatching, filtering, and formatting. -
go-logger
Simple logger for Go programs. Allows custom formats for messages. -
rollingwriter
Rolling writer is an IO util for auto rolling write in go. -
httpretty
Package httpretty prints the HTTP requests you make with Go pretty on your terminal. -
sqldb-logger
A logger for Go SQL database driver without modifying existing *sql.DB stdlib usage. -
loggo
A logging library for Go. Doesn't use the built in go log standard library, but instead offers a replacement. -
ozzo-log
A Go (golang) package providing high-performance asynchronous logging, message filtering by severity and category, and multiple message targets. -
logex
An golang log lib, supports tracking and level, wrap by standard log lib -
gologger
Simple easy to use log lib for go, logs in Colored Cosole, Simple Console, File or Elasticsearch. -
noodlog
๐ Parametrized JSON logging library in Golang which lets you obfuscate sensitive data and marshal any kind of content. -
mlog
A simple logging module for go, with a rotating file feature and console logging. -
slf
The Structured Logging Facade (SLF) for Go (like SLF4J but structured and for Go) -
Kiwi Logs&Context
Fast, structured, with filters and dynamic sinks. No levels. Logger & context keeper for Go language ๐ฅ It smell like a mushroom. -
logmatic
Colorized logger for Golang with dynamic log level configuration -
slog
The reference implementation of the Structured Logging Facade (SLF) for Go -
gomol
Gomol is a library for structured, multiple-output logging for Go with extensible logging outputs -
kemba
A tiny debug logging tool. Ideal for CLI tools and command applications. Inspired by https://github.com/visionmedia/debug -
go-rethinklogger
Automatically persists all the logs of your Go application inside RethinkDB.
TestGPT | Generating meaningful tests for busy devs
Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.
Promo
codium.ai
Do you think we are missing an alternative of logdump or a related project?
Popular Comparisons
README
Logdump
Package for writing logs to multiple files
Usage
$ go get github.com/ewwwwwqm/logdump
Example
main.go
package main
import (
"log"
"github.com/ewwwwwqm/logdump"
)
func main() {
// create message zones and assign files for output
newLog := map[string]interface{}{
"error": "error.log",
"warning": "warning.log",
"notice": "notice.log",
}
// init logger
logdump.Init(newLog)
// for ex. dump error
logdump.Write("error", "something had an error")
// default output
log.Println("Standard output to os.Stderr")
// few more errors
logdump.Write("notice", "some notice")
logdump.Write("error", "another error")
logdump.Write("warning", "fancy warning")
// wrong message zone, output to os.Stderr
logdump.Write("wrong_zone", "fail")
}
Before running:
Run the app:
$ go run main.go
Files were created.
Output
os.Stderr:
2017/01/13 17:45:48 Standard output to os.Stderr
2017/01/13 17:45:48 Type wrong_zone was not assigned for log output
error.log
2017/01/13 17:45:48 Start error logging
2017/01/13 17:45:48 something had an error
2017/01/13 17:45:48 another error
warning.log
2017/01/13 17:45:48 Start warning logging
2017/01/13 17:45:48 fancy warning
notice.log
2017/01/13 17:45:48 Start notice logging
2017/01/13 17:45:48 some notice