mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 02:21:03 +00:00
contracts Add LOG_TARGET constant (#14002)
* contracts Add LOG_TARGET constant * Update frame/contracts/src/lib.rs Co-authored-by: Sasha Gryaznov <hi@agryaznov.com> --------- Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
This commit is contained in:
@@ -163,6 +163,13 @@ type OldWeight = u64;
|
||||
/// that this value makes sense for a memory location or length.
|
||||
const SENTINEL: u32 = u32::MAX;
|
||||
|
||||
/// The target that is used for the log output emitted by this crate.
|
||||
///
|
||||
/// Hence you can use this target to selectively increase the log level for this crate.
|
||||
///
|
||||
/// Example: `RUST_LOG=runtime::contracts=debug my_code --dev`
|
||||
const LOG_TARGET: &str = "runtime::contracts";
|
||||
|
||||
#[frame_support::pallet]
|
||||
pub mod pallet {
|
||||
use super::*;
|
||||
|
||||
Reference in New Issue
Block a user