Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Introduce LOG_TARGET constants accross the code base #12873

@bkchr

Description

@bkchr

Currently we have a mix between having LOG_TARGET constants declared in crates/files versus having certain crates/files where we declare the target every time manually. We should unify the code base to use LOG_TARGET everywhere. LOG_TARGET has the advantage of making it quite easy to search/filter for all log targets that Substrate supports.

Here an example where we have LOG_TARGET already defined:

const LOG_TARGET: &str = "trie-recorder";

Here an example where we just write out the target:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Z1-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions