gulpjs / fancy-log

Log things, prefixed with a timestamp.
MIT License
121 stars 21 forks source link

grey colour not visible #18

Closed smontanari closed 2 years ago

smontanari commented 5 years ago

We all love our own personalised terminal colour settings. I've recently switched to using a version of a Solarized Dark theme that unfortunately makes the default ansi-gray color pretty much invisible. Is there any chance you would allow to make the timestamp colorisation configurable (say with a custom colour) or even just optional (so the console output falls back to whatever the standard is set for the current terminal)? Thank you

phated commented 5 years ago

Output theming is planned for gulp-cli (see https://github.com/gulpjs/gulp-cli/issues/63) - I'm not sure how that will be propagated down into fancy-log or if it will be a layer on top.

smontanari commented 5 years ago

all right, thanks. I'll wait to see how that develops

GongT commented 5 years ago

image dark blue also not very visible. (which gulp not using)

alessioalex commented 5 years ago

any updates on this? unfortunately gray makes this logger unusable due to the date not being visible.

kevin-smets commented 4 years ago

This is effectively an issue with the theme, which is still open. See here: https://github.com/altercation/solarized/issues/220

A quick fix is to use Solarized Dark - patched: https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/Solarized%20Dark%20-%20Patched.itermcolors

More info on the issue here:

phated commented 2 years ago

Planning to "solve" this with #23 (and land in 2.0), which does 2 things:

  1. Switches the color magenta—node's default color for Dates
  2. Uses utils.inspect to allow color overrides following node's docs on custom formatting.