1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-15 01:34:10 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
David Knaack
fb0381f7e0
test: enable logging in tests (#2151)
* test: enable logging in tests

* fix clippy
2021-01-16 13:25:58 +01:00
David Knaack
b9c096bd56
feat(logger): don't create empty log files (#1836) 2020-10-27 19:00:53 +01:00
Thomas O'Donnell
b2a5c4a3e4
chore(log): Add context to logger failure messages (#1764)
Have added a little bit more context to the error messages that occur
when if starship is unable to setup the logger. This should hopefully
make it a bit easier to work out why starship can't setup the logger.
2020-10-14 12:13:44 -04:00
Tilmann Meyer
2233683410
feat: add error messaging (#1576)
This creates a custom logger for the log crate which logs everything to a file (/tmp/starship/session_$STARSHIP_SESSION_KEY.log) and it logs everything above Warn to stderr, but only if the log file does not contain the line that should be logged resulting in an error or warning to be only logged at the first starship invocation after opening the shell.
2020-09-28 16:38:50 -04:00