TritonDataCenter / pg_prefaulter

Faults pages into PostgreSQL shared_buffers or filesystem caches in advance of WAL apply
Apache License 2.0
56 stars 13 forks source link

Add a colorized console logger for pretty-printing... #10

Closed sean- closed 7 years ago

sean- commented 7 years ago

Change the console logger to use https://github.com/mattn/go-isatty and use the ConsoleWriter for pretty-printing when stdout is hooked up to a TTY (and not explicitly disabled in the config or on the CLI).