https://github.com/vardius/trace
Simple helper to trace the function calls, errors or logs reference
https://github.com/vardius/trace
file golang reference stacktrace trace
Last synced: 9 months ago
JSON representation
Simple helper to trace the function calls, errors or logs reference
- Host: GitHub
- URL: https://github.com/vardius/trace
- Owner: vardius
- License: mit
- Created: 2019-06-25T12:14:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-23T09:13:31.000Z (almost 6 years ago)
- Last Synced: 2025-03-24T16:55:52.526Z (10 months ago)
- Topics: file, golang, reference, stacktrace, trace
- Language: Go
- Homepage:
- Size: 42 KB
- Stars: 7
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
π‘ trace
================
[](https://travis-ci.org/vardius/trace)
[](https://goreportcard.com/report/github.com/vardius/trace)
[](https://codecov.io/gh/vardius/trace)
[](https://pkg.go.dev/github.com/vardius/trace)
[](https://github.com/vardius/trace/blob/master/LICENSE.md)

trace - simple helper to trace the function calls, errors or logs reference
π ABOUT
==================================================
Contributors:
* [RafaΕ Lorenz](http://rafallorenz.com)
Want to contribute ? Feel free to send pull requests!
Have problems, bugs, feature ideas?
We are using the github [issue tracker](https://github.com/vardius/trace/issues) to manage them.
## π Documentation
For __examples__ **visit [godoc#pkg-examples](http://godoc.org/github.com/vardius/trace#pkg-examples)**
For **GoDoc** reference, **visit [pkg.go.dev](https://pkg.go.dev/github.com/vardius/trace)**
π HOW TO USE
==================================================
## π« Basic example
```go
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](LICENSE.md)
-------
This package is released under the MIT license. See the complete license in the package