Top 0.5% dependent packages on proxy.golang.org
Top 0.8% dependent repos on proxy.golang.org
Top 2.0% forks on proxy.golang.org
Top 0.7% docker downloads on proxy.golang.org
proxy.golang.org : github.com/alecthomas/log4go
Package log4go provides level-based and highly configurable logging. This is inspired by the logging functionality in Java. Essentially, you create a Logger object and create output filters for it. You can send whatever you want to the Logger, and it will filter that based on your settings and send it to the outputs. This way, you can put as much debug code in your program as you want, and when you're done you can filter out the mundane messages so only the important ones show up. Utility functions are provided to make life easier. Here is some example code to get started: log := log4go.NewLogger() log.AddFilter("stdout", log4go.DEBUG, log4go.NewConsoleLogWriter()) log.AddFilter("log", log4go.FINE, log4go.NewFileLogWriter("example.log", true)) log.Info("The time is now: %s", time.LocalTime().Format("15:04:05 MST 2006/01/02")) The first two lines can be combined with the utility NewDefaultLogger: log := log4go.NewDefaultLogger(log4go.DEBUG) log.AddFilter("log", log4go.FINE, log4go.NewFileLogWriter("example.log", true)) log.Info("The time is now: %s", time.LocalTime().Format("15:04:05 MST 2006/01/02")) Usage notes: Changes from 2.0: Future work: (please let me know if you think I should work on any of these particularly)
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/alecthomas/log4go
License: BSD-2-Clause
Latest release: over 7 years ago
First release: over 7 years ago
Namespace: github.com/alecthomas
Dependent packages: 101
Dependent repositories: 55
Stars: 304 on GitHub
Forks: 183 on GitHub
Docker dependents: 6
Docker downloads: 82,666
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/alecthomas
Last synced: about 2 hours ago
github.com/kaewdungdee2538/ouanfunction/v2 v2.0.4
5 versions - Latest release: about 1 year ago - 0 stars on GitHubgithub.com/kaewdungdee2538/ouanfunction v1.3.8
41 versions - Latest release: about 1 year ago - 0 stars on GitHubgithub.com/mattermost/matterbuild v0.13.0
Matterbuild - An internal Mattermost chatops tool for generating Mattermost releases27 versions - Latest release: over 1 year ago - 14 stars on GitHub
github.com/destan0098/SimplePortScanner v1.1.3
This Simple Fast PortScanner For TCP in Golang , Just For Education5 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/destan0098/simpleportscanner v1.1.3
This Simple Fast PortScanner For TCP in Golang , Just For Education5 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/ngrox-io/ngrox v0.0.0-20231204044155-6c638d2e774c
3 versions - Latest release: over 1 year agogithub.com/red-chen/x-mirror v0.0.0-20231105020448-2089f631b2be
灵感来自于Ngrok项目,X-Mirror基于Ngrok项目做了很多改进,提供了非常丰富的穿透协议,在原有的协议基础之上,支持更多的协议,比如MySQL、Postgres等协议,再零信任架构下实...1 version - Latest release: over 1 year ago - 0 stars on GitHub
gitee.com/sailun-dst/common v0.0.0-20231027021542-032eb4cc0cd3
2 versions - Latest release: over 1 year agogithub.com/uotek/pgrok v0.0.0-20230919023147-6f2144ea656e
2 versions - Latest release: over 1 year agogithub.com/otter-trade/go-serve-demo v0.0.0-20230715122423-be48506c2704
基于 go-zero 制定的微服务模板。1 version - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/cc14514/go-lightrpc-example v0.0.0-20230103092346-37d48d9de377
exam1 version - Latest release: over 2 years ago - 0 stars on GitHub
github.com/hedon954/go-lock-step-server v0.0.3
a lock step server implemented in Go.3 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/864811699/T0kdb v0.9.4
T0交易公用依赖5 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/864811699/t0kdb v0.9.4
T0交易公用依赖5 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/hacku7/gomail v0.0.0-20220629142254-90b322d6deb4
send mail code server1 version - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/tsandl/TYDB v0.0.0-20220622102555-d10501519848
2 versions - Latest release: almost 3 years ago - 0 stars on GitHubgithub.com/smeghead/goits v0.0.0-20220612142746-c440f6a3bbd4
1 version - Latest release: almost 3 years ago - 2 stars on GitHubgithub.com/loyalpartner/gopush-cluster v1.0.5
Golang push server cluster6 versions - Latest release: about 3 years ago - 0 stars on GitHub
bitbucket.org/thebridge0491/introgo v0.0.0-20220413170839-f8822610c311
Multi-package project Intro examples for Golang.1 version - Latest release: about 3 years ago
gitlab.afander.com/golang/brain v1.10.104
63 versions - Latest release: about 3 years agogithub.com/byebyebruce/goweblua v0.0.0-20220317055701-d02bcf7af0c8
go搭建能运行lua脚本的web端1 version - Latest release: about 3 years ago - 10 stars on GitHub
github.com/mft-labs/amf_dlp v0.0.0-20220303103956-cbcb92313a24
1 version - Latest release: about 3 years agogithub.com/mft-labs/amf_kafka v0.0.0-20220302121530-cfcbc669f06b
1 version - Latest release: about 3 years ago - 0 stars on GitHubgitee.com/jmdvirus/jkgo v0.0.0-20220106035115-a9e92229b988
1 version - Latest release: over 3 years agogitee.com/ifinder/finder-kafka-go v1.3.0
3 versions - Latest release: over 3 years agogithub.com/xdapp/xdapp-sdk-go v1.1.2
xdapp service sdk for golang9 versions - Latest release: over 3 years ago - 1 stars on GitHub
github.com/nsxy/kdbtdx v1.1.0
trade with q5 versions - Latest release: almost 4 years ago - 1 stars on GitHub
github.com/Newcxy/kdbTdx v1.1.0
5 versions - Latest release: almost 4 years agogithub.com/nsxy/kdbTdx v1.1.0
trade with q5 versions - Latest release: almost 4 years ago - 1 stars on GitHub
github.com/newcxy/kdbtdx v1.1.0
5 versions - Latest release: almost 4 years agogithub.com/zsxm/ngrok v1.0.1
3 versions - Latest release: about 4 years agogithub.1git.de/byebyebruce/lockstepserver v0.1.0
1 version - Latest release: about 4 years agogithub.imxd.top/byebyebruce/lockstepserver v0.1.0
1 version - Latest release: about 4 years agogithub.com/bailu1901/lockstepserver v0.1.0
1 version - Latest release: about 4 years agogithub.com/duhaibo0404/lockstepserver v0.1.0
golang版帧同步服务器1 version - Latest release: about 4 years ago - 0 stars on GitHub
github.com/byebyebruce/Lockstepserver v0.1.0 removed
1 version - Latest release: about 4 years agogithub.com/byebyebruce/lockstepserver v0.1.0
golang版帧同步服务器1 version - Latest release: about 4 years ago - 257 stars on GitHub
github.hscsec.cn/byebyebruce/lockstepserver v0.1.0
1 version - Latest release: about 4 years agogithub.phpd.cn/byebyebruce/lockstepserver v0.1.0
1 version - Latest release: about 4 years agogithub.skymusic.top/byebyebruce/lockstepserver v0.1.0
1 version - Latest release: about 4 years agogithub.com/Xxianglei/gd v1.0.5 removed
7 versions - Latest release: over 4 years agogithub.com/xxianglei/gd v1.0.5 removed
7 versions - Latest release: over 4 years agogithub.com/ontio/ontology-tool v0.0.0-20201125071824-b83092a2fc93
1 version - Latest release: over 4 years ago - 1 stars on GitHubgithub.com/mikudos/mikudos-message-pusher v0.0.0-20200515090440-67bdb1d3d8c0 💰
mikudos-message-pusher1 version - Latest release: about 5 years ago - 11 stars on GitHub
github.com/pubgo/xcmd v0.0.6
cmd collection6 versions - Latest release: about 5 years ago - 4 dependent packages - 3 dependent repositories - 0 stars on GitHub
github.com/cheetah-fun-gs/goplus v1.2.1 removed
67 versions - Latest release: about 5 years ago - 5 dependent packages - 4 dependent repositoriesgithub.com/tiedpag/go-log v1.0.0 removed
1 version - Latest release: over 5 years agogithub.com/TIEDPAG/go-log v1.0.0
1 version - Latest release: over 5 years agogithub.com/csduarte/mattermost-probe v0.0.0-20191029225458-1810958db9d0
1 version - Latest release: over 5 years ago - 9 stars on GitHubgithub.com/tangxqa/gogate v1.2.3
Go实现的高性能Spring Cloud网关(支持Consul和Eureka), 路由配置热更新、负载均衡、灰度、服务粒度的流量控制、服务粒度的流量统计8 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/markusleevip/taodb v1.0.0
2 versions - Latest release: about 6 years agogithub.com/traefix/ngrok2 v0.0.0-20181223055949-c9420bb1ae68
1 version - Latest release: over 6 years agoCheck this option to include packages that no longer depend on this package in their latest version but previously did.