Categorygithub.com/vardius/trace
repositorypackage
1.0.1
Repository: https://github.com/vardius/trace.git
Documentation: pkg.go.dev

# README

Vardius - trace

Build Status Go Report Card codecov license

trace - simple helper to trace the function calls, errors or logs reference

ABOUT

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.

HOW TO USE

  1. GoDoc
  2. Examples

Basic example

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:

LICENSE