Skip to content

Logger expects bunyan #39

@cramhead

Description

@cramhead

Thanks for making this package. I think it's really great.

I notice that logger method used are only debug, warn, info, and error, but when I pass my logger that supports those function I get the following.

error TS2345: Argument of type 'MyLogger' is not assignable to parameter of type 'Logger'.
  Type 'IsamLogger' is missing the following properties from type 'Logger': addStream, addSerializers, child, reopenFileStreams, and 21 more.

It's problematic to support all the interfaces that bunyan offers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions