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

fix log targets for nonfungibles-adapter#7154

Merged
paritytech-processbot[bot] merged 3 commits into
masterfrom
vstam1/nonfungibles-adapter-log-bug
May 2, 2023
Merged

fix log targets for nonfungibles-adapter#7154
paritytech-processbot[bot] merged 3 commits into
masterfrom
vstam1/nonfungibles-adapter-log-bug

Conversation

@vstam1

@vstam1 vstam1 commented May 1, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@vstam1 vstam1 added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. A0-please_review Pull request needs code review. and removed A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). labels May 1, 2023

@mrcnski mrcnski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Should it match the name of the file, i.e. xcm::nonfungibles_adapter (no first underscore)? Otherwise someone may try something like RUST_LOG=xcm::nonfungibles_adapter=trace and nothing would show up.

) -> result::Result<xcm_executor::Assets, XcmError> {
log::trace!(
target: "xcm::non_fungibles_adapter",
target: "xcm::nonfungibles_adapter",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create a constant LOG_TARGET: &str = "xcm::nonfungibles_adapter" instead of copying thus here all the time.

@vstam1

vstam1 commented May 2, 2023

Copy link
Copy Markdown
Contributor Author

bot merge

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants