Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/griggsca91/traceeverything


https://github.com/griggsca91/traceeverything

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# traceeverything

Injects a log statement in every function so you can visually see a log of the calls in your terminal

Just a quick tool

## How to use

Either run

```sh
trace-everything .
```

in the root of your project

or put a

```go
//go:generate trace-everything

in the files you want to trace
```

if you run `trace-everything remove .` it will remove all the logs

Logs will only display if you build with the build tags `trace-everything`