Skip to content

Instantly share code, notes, and snippets.

@nalanj
Last active August 25, 2018 13:29
Show Gist options
  • Save nalanj/f0664c7b62c6206d23468bfded90d838 to your computer and use it in GitHub Desktop.
Save nalanj/f0664c7b62c6206d23468bfded90d838 to your computer and use it in GitHub Desktop.
fluentd-dev-logging
package main
import(
"log"
"math/rand"
"time"
)
func main() {
for {
log.Printf("Some random log output %d\n", rand.Intn(1000))
time.Sleep(500 * time.Millisecond)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment