Skip to content

Is there a reason not to pass ctx on Custom Transporter? #77

@CatsMiaow

Description

@CatsMiaow

i want add request log

app.use(logger((ctx, str, args) => {
  console.log(str, ctx.request.ip); // ctx.request.header['user-agent'], etc...
}))

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