• Stars
    star
    33
  • Rank 757,085 (Top 16 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 10 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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 world")
log.Error("hello world")

//create a logger with specified handler
h := NewStreamHandler(os.Stdout)
l := log.NewDefault(h)
l.Info("hello world")

go-doc

GoDoc

More Repositories

1

mixer

a MySQL proxy powered by Go
Go
755
star
2

go

my golang lib
Go
438
star
3

libtnet

libtnet is a tiny high performance c++ network lib, like tornado
C
277
star
4

moonmq

a fast distributed message queue implemented with go
Go
267
star
5

leetcode-solution

139
star
6

elasticsearch-note

Elasticsearch note
126
star
7

blog

My blog archive
85
star
8

pygmcrypto

Implementation for Chinese National Standard Ciphers
C++
42
star
9

redis-tikv-example

A very simple example to show how to build a Redis Compatibility Cluster based on TiKV
Go
32
star
10

goredis

A simple redis client
Go
29
star
11

rust-raftkv

A simple distributed consistent key-value store with Raft and Rust
Rust
29
star
12

polaris

a restful web framework like tornado written by go
Go
28
star
13

rust-concurrency-in-action

Rust
27
star
14

github-cli

A CLI tool to help me manage too many repositories
Go
26
star
15

libcoro

a tiny coroutine lib using for c++
C++
24
star
16

tlaplus-example

TLA
17
star
17

luahelper

some tools for writing lua code
C++
15
star
18

prom-porter

Dump and load Prometheus data
Go
15
star
19

leetcode

my solution for leetcode
C++
14
star
20

slack-cli

a command tool to communicate with slack
C
13
star
21

tlock

Tiny lock service
Go
11
star
22

fio-helper

A simple tool to help me run fio benchmark
Python
11
star
23

fault-injection

Some tools to inject failure
10
star
24

tnet

a tiny lib for high performance network program
C
10
star
25

xkcdsay

A toy project like cowsay or ponysay
Go
9
star
26

lua-pycrypto-aes

implement pycrypto aes in lua
C
9
star
27

capture

A tool to capture and parse gRPC messages in TiDB
Go
7
star
28

dbbench

Yet another benchmark toolbox for database
Lua
6
star
29

mtunnel

a simple http tunnel for remote control
Python
5
star
30

tikv-proto-tonic-demo

A simple demo to build TiKV gRPC protocols based on tonic
Rust
4
star
31

mysql-docker

A Dockerfile that installs MySQL
Shell
4
star
32

usn

a python library to operate usn journal
Python
4
star
33

tidb-helm

Operate TiDB cluster in Kubernetes
Smarty
4
star
34

tpush

a simple push server based on libev
C++
4
star
35

work-reporter

A simple tool to generate report from Jira/Github for our TiKV team
Go
4
star
36

jepsen-docker

Docker for jepsen
Shell
3
star
37

emacs

my emacs config file
Emacs Lisp
3
star
38

prom-plot

Plot and visualize the Prometheus metric
Go
3
star
39

golua

use lua in go for ledisdb only, forked from https://github.com/aarzilli/golua
C
3
star
40

redis-test

A DSL test tool for Redis or RESP protocol service.
Go
3
star
41

pingcap-newbie-workshop

Go
3
star
42

rocksdb-examples

A repo to store some examples of my use of RocksDB
C++
3
star
43

promvis

Show Prometheus Query Result in Term
Go
3
star
44

keyvisual

JavaScript
3
star
45

next-tidb-demo

JavaScript
3
star
46

youtube_summarizer

Summarize the YouTube video
Python
2
star
47

tiplay

A toy project to play music (aha, Nose in fact) through Prometheus metrics
Go
2
star
48

katacoda-scenarios

Katacoda Scenarios
Shell
2
star
49

rotor-ares

A dns resolver based on rotor and c-ares.
Rust
2
star
50

aisay

A tool to interact with OpenAI
Go
2
star
51

rdb

Handling redis rdb
Go
2
star
52

jepsen-tidb

Jepsen test for TiDB
Clojure
2
star
53

learn-clojure

Clojure
2
star
54

go-websocket

Go
2
star
55

go-logcabin-resty

HTTP restful proxy for LogCabin with Go.
1
star
56

go-snappy

fork from code.google.com/p/snappy-go
Go
1
star
57

go-tokuft

a go wrapper for tokudb (https://github.com/Tokutek/ft-index)
Go
1
star
58

mrest

A simple Rust web framework based on mio.
Rust
1
star
59

snappy

a fork of snappy-1.1.2
Shell
1
star
60

wallpaper

Python
1
star
61

product_analyses

1
star
62

ideas

My ideas
1
star
63

imagecrawler

a simple crawler for fetch picture url and down
Python
1
star
64

ticomic

1
star
65

redis-canal

Sync redis data into other places
1
star
66

go-leveldb

a go wrapper to use leveldb like levigo, but simplify.
Go
1
star
67

tidb-ai-insight

A demo to get insight with Open AI + TiDB Cloud Serverless Tier
Go
1
star
68

go-bson

a go bson package
Go
1
star