krystollia / logging

this repo host logging front end and backend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logging service for golang projects

usage with grpc

  1. go get github.com/MiSingularity/logging

  2. Init grpc client by calling

    bi.Init("127.0.0.1", "50051")
  3. Call Bi() to add a bi log, for example:

    bi.Bi(&p.BiLog{
    		ProjectName: "deepshare",
    		ActionName:  "userlink",
    		Timestamp:   time.Now().Unix(),
    		Detail:      []byte("detail~~~~~~"),
    	})

Golang example is placed in fe/example/go/biclient.go, Other languages are similar.

About

this repo host logging front end and backend.


Languages

Language:Go 95.2%Language:Protocol Buffer 4.8%