summary refs log tree commit diff stats
path: root/src/logging.rs
Commit message (Collapse)AuthorAgeFilesLines
* added test for tempfile creationBen Morrison2020-05-271-0/+12
|
* removed panics and refactored error handlingBen Morrison2020-05-261-9/+1
| | | | | | | | Using a helper function to handle fatal errors error::helper() Displays the simplified message if an error condition occurs. Displays both the simplified and the raw error message if -v verbose logging is enabled.
* removed panics from logging initializationBen Morrison2020-05-261-9/+15
|
* using in-memory db for tests, passing path to logging::init() instead of ↵Ben Morrison2020-05-261-6/+6
| | | | assuming
* logging changes:Ben Morrison2020-05-261-30/+16
| | | | | | | | | | Rather than using a new logfile for each invocation, a single logfile called `/tmp/clinte_$USER.log` will be used, with later invocations appending to the previous messages. Also removed some unnecessary `use` statements relating to the `log` crate and its macros. Leaving the macro calls namespaced to `log::` makes it clearer what the behavior is.
* letting errors flow upBen Morrison2019-09-051-4/+7
|
* updated logging test v0.4.0Ben Morrison2019-09-041-2/+2
|
* getting user name at single locationBen Morrison2019-09-041-8/+3
|
* logging reflects executing username v0.3.4Ben Morrison2019-09-041-8/+17
|
* fix logging testBen Morrison2019-08-281-2/+2
|
* db connected, logging upBen Morrison2019-08-271-0/+48