Skip to content

Use a "guarded" logger in trait Logging #41

@tmnd1991

Description

@tmnd1991

As of 7d76fb3 the logger used in the logger trait is not guarded, therefore it always generates strings eagerly without checking if they will be emitted or not. This may incur in runtime penalties if some log message creation is onerous.

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