Skip to content

Gostory is a Go port of the Story contextual tracing and telemetry framework

License

Notifications You must be signed in to change notification settings

israelchen/gostory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Israel Chen
Dec 11, 2015
fe5b2e0 · Dec 11, 2015

History

13 Commits
Dec 10, 2015
Dec 11, 2015
Dec 11, 2015
Dec 11, 2015
Dec 11, 2015
Dec 10, 2015
Dec 10, 2015
Dec 11, 2015
Dec 11, 2015
Dec 11, 2015
Dec 11, 2015
Dec 11, 2015
Dec 11, 2015

Repository files navigation

gostory

story SDK in Go

simple demo animation

package main

import (
    "github.com/israelchen/gostory"
    "github.com/israelchen/gostory/handlers"
    "github.com/israelchen/gostory/rules"
)

func main() {

    fmtHandler := handlers.NewFmtHandler(gostory.DEBUG)
    gostory.AddHandler(rules.AlwaysOn, fmtHandler)

    s := gostory.New("blah")
    defer s.Done()

    s.Info("hello, story!").AddData("count", 123)
}

..This is a work in progress..

About

Gostory is a Go port of the Story contextual tracing and telemetry framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages