Skip to content

Migrate to an external logger provider #302

@TrabacchinLuigi

Description

@TrabacchinLuigi

The scope of this library isn't providing a logger, so using some third party abstractions is a sensible way to move away from maintain something we aren't focused on.
The actual implementation is also allocating memory when it shouldn't, and doesn't "enforce" good logging practices (like one call per log: see DokanOperationProxy where multiple log.Debug are called to write about just one event, nor using a template string instead of a variable string)

I suggest migrating to serilog, just because i know it's high performance and can be adapted to all other major loggers, or custom ones
I think also microsoft.extensions.logging.abstractions could be a good choice, but i'm not sure about performance which are quite relevant in a project like this one

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