Stream logs through websockets, written in Go.
package main
import (
"github.com/pravinba9495/sentry"
)
func main() {
// Initialize sentry options
opts := &sentry.SentryOptions{
Port: 8080,
Secret: "SOME_RANDOM_SECRET",
LogFilePath: "logfile.txt",
}
// Create and start the sentry instance
instance := sentry.NewInstance(opts)
err := <-instance.Run()
log.Println(err)
}
Sentry documentation is hosted at Read the docs.
Sentry is still under development. Contributions are always welcome!
MIT