Tomatto logger is a lightweight library written 100 in Golang for standard output and in JSON.
Refer to info_examples.go file, you'll find a simple use there.
{
"line": 19,
"method": "main.sum",
"file": "info_example.go",
"message": "the result is 1148"
}
- Golang- Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.