Skip to content

Plugins/hooks using mkdocs logger aren't logged properly #37

@Andre601

Description

@Andre601

I've noticed that plugins and hooks that use the mkdocs logger (i.e. log = logging.getLogger("mkdocs")) are not properly logged in the console when executed via properdocs commands.
They either aren't printed at all, or without a INFO/WARNING/... prefix and color applied.

Not sure if the fix is to just also create a mkdocs logger instance to use or if there's some other shenanigans required...

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