CirclesUBI / circles-api-legacy

User and organization profile service
GNU Affero General Public License v3.0
4 stars 0 forks source link

Color output from winston logger #57

Open edzillion opened 5 years ago

edzillion commented 5 years ago
const logger = winston.createLogger({ levels, transports })
winston.addColors(colors)

this does not work anyway, either does making the levels param into a object like so:

const levels = {
  levels: ...
  colors: ...
}

Winston docs suggest both styles but neither work for me.