Skip to content

error, warn, info, and verbose log functions are not bind to the sanitized context #27

@mcamacho021

Description

@mcamacho021

Observed that the error, warn, info and verbose are removed from the context when the context object is sanitized to remove the "done" function.

The _extends() function in the IncomingMessage file is removing these functions. Only the "log" function is available in the context object.

It would be nice if we could use these log level functions.

Context object before sanitized;
image

Context object after sanitized:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions