mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 08:05:43 -06:00
- Create new ctxLogProviders for each scenario to support go test -count=n for n>1. Currently, it just kept adding providers for every new run, which would make it add way more key-value pairs to the provider than necessary. - Adding a helper method to the scenario to make it easier to set up tests for logging and easier to read the tests. I also flattened the test file, to reduce the complexity of each test function. |
||
---|---|---|
.. | ||
logtest | ||
term | ||
text | ||
composite_logger_test.go | ||
composite_logger.go | ||
databaseCounter_test.go | ||
databaseCounter.go | ||
file_test.go | ||
file.go | ||
handlers.go | ||
interface.go | ||
log_test.go | ||
log.go | ||
requestTiming.go | ||
syslog_windows.go | ||
syslog.go |