Skip to content

lxia617/logging

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 91.1%
  • Protocol Buffer 8.9%