peterldowns / localias

custom local domain aliases for local dev servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unify logging format

peterldowns opened this issue · comments

Logs are emitted via manual printing, via caddy, etc. They look really ugly. Figure out a way to redirect and format the caddy logs, and unify with the log prints in the rest of the app. Allow json support and colorization. Clean up some of the noise.

The most likely path forward is to just use the caddy logger from the rest of the app, as caddy doesn't make it possible to inject a custom logger.

If anyone asks for this I can do it, until then not going to plan on it.