mirror of https://github.com/tidwall/tile38.git
517bc57e9c
Move the LogJSON check into the log function so that the caller function can be inlined. This is helpful for hot functions like `log.Debug` where it's likely that the `-vv` flag is not set thus the to avoid the extra function call. |
||
---|---|---|
.. | ||
log.go | ||
log_test.go |