Skip to content
This repository was archived by the owner on Jan 25, 2020. It is now read-only.
This repository was archived by the owner on Jan 25, 2020. It is now read-only.

Updating docs #9

@Shino-

Description

@Shino-

Hi,

I'm a newcomer to pine, and I think the README should be updated with examples of how to use the file transport, and how to use pine within kraken, because apparently if you just try to replace the default "logger" middleware it doesn't work.
EDIT: If you try to use libs or index as middleware it doesn't work, if you try to do app.use() it says it requires middleware functions. Maybe it's not made to be used as a middleware? If that's the case, do you think we could work out together a plan to make it usable as a middleware? Because I think it fits the use as a middleware...
Also side question, if it's supposed to be used a middleware, how to use it inside a router ?

Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions