taproot-assets icon indicating copy to clipboard operation
taproot-assets copied to clipboard

[feature]: [test]: build tags for setting the global log level

Open jharveyb opened this issue 11 months ago • 0 comments

Is your feature request related to a problem? Please describe.

Some of the make targets used in development like unit-trace don't actually enable trace-level logging, only the default level of info.

Describe the solution you'd like

Make targets that enable various log levels, similar to lnd. AFAICT this requires new build tags and possibly a /build dir?

https://github.com/lightningnetwork/lnd/tree/master/build

Describe alternatives you've considered

Tried to pass the log level via the test binary args but that failed. Build tags seem strictly better.

jharveyb avatar Feb 28 '24 21:02 jharveyb