trace - simple helper to trace the function calls, errors or logs reference
Contributors:
Want to contribute ? Feel free to send pull requests!
Have problems, bugs, feature ideas? We are using the github issue tracker to manage them.
For examples visit godoc#pkg-examples
For GoDoc reference, visit pkg.go.dev
package main
import (
"log"
"github.com/vardius/trace"
)
func main() {
log.Printf("%s\n\t%s", "Hello from:", trace.Here(trace.Lfile | trace.Lline | trace.Lfunction))
}
📜 License
This package is released under the MIT license. See the complete license in the package