Last active
August 25, 2018 13:29
-
-
Save nalanj/f0664c7b62c6206d23468bfded90d838 to your computer and use it in GitHub Desktop.
fluentd-dev-logging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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