Skip to content

this repo host logging front end and backend.

Notifications You must be signed in to change notification settings

krystollia/logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 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