Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natefinch/nolog
just a dumb little tool to run juju tests and filter out all the logging
https://github.com/natefinch/nolog
Last synced: 28 days ago
JSON representation
just a dumb little tool to run juju tests and filter out all the logging
- Host: GitHub
- URL: https://github.com/natefinch/nolog
- Owner: natefinch
- License: mit
- Created: 2014-03-26T18:28:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-28T20:29:09.000Z (over 9 years ago)
- Last Synced: 2024-06-19T19:42:19.907Z (5 months ago)
- Language: Go
- Size: 176 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
nolog
=====a bit more than a dumb little tool to help filter logging.
nolog runs go test and passes through all command line args to it but you might want to use our own shortcuts for convenience.
**-c** false by default, when set to true will color the output logs.
**-f** false by default, setting this flag will output the lines beginning with [LOG] to a file.
**-filter** a string to be used to filter tests with -gocheck.f (requires gocheck).
**-name** "tests.log" by default, is an alternative file name for the ouput file.
**-v** false by default, will use -test.v=true on the test run.
When no arguments are passed it will behave like the original version, filtering out lines starting with [LOG]