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

Description
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: