Last active
August 6, 2021 10:56
-
-
Save percybolmer/fcf6fbfd219d10a1217137d320478a62 to your computer and use it in GitHub Desktop.
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 ( | |
"github.com/rs/zerolog/log" | |
) | |
func main() { | |
// Log with service name | |
log.Info(). | |
Str("service", "my-service"). | |
Int("Some integer", 10). | |
Msg("Hello") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment