Skip to content

captains-log: When using a custom Winston logger, hide the prefix and use Winston's instead #4036

@sailsbot

Description

@sailsbot

From @felixmc on February 27, 2015 0:37

Right now if I use a Winston logger with Captain's Log, I get the following:

image

It would be nice if Captain's Log detected that I am using a custom Winston logger and did not print a prefix to logged messages. That way, if "showLevel" is true in Winston, only the Winston prefix shows, and if "showLevel" is false in Winston, no prefix shows at all.

Copied from original issue: balderdashy/captains-log#14

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions