Skip to content

Use the log crate instead of the home-made macros #151

Closed
@azerupi

Description

@azerupi

The log crate provides macros like debug!, info!, trace!, etc. There is no need to recreate this in mdBook.

Another advantage of using the log crate is that the final behavior of the logging macros is defined by the binary. If mdBook were to be used as a lib, the user could choose how the logging reports the information.

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