Sha256: d5de857162185d4a2384f3cb644bfcf76c7f5c1a3b5f72bfa0d2620ac6e3873c

Contents?: true

Size: 631 Bytes

Versions: 38

Compression:

Stored size: 631 Bytes

Contents

use tracing::Level;

#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)]
#[test]
fn prefixed_span_macros() {
    tracing::span!(Level::DEBUG, "foo");
    tracing::trace_span!("foo");
    tracing::debug_span!("foo");
    tracing::info_span!("foo");
    tracing::warn_span!("foo");
    tracing::error_span!("foo");
}

#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)]
#[test]
fn prefixed_event_macros() {
    tracing::event!(Level::DEBUG, "foo");
    tracing::trace!("foo");
    tracing::debug!("foo");
    tracing::info!("foo");
    tracing::warn!("foo");
    tracing::error!("foo");
}

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/tracing-0.1.41/tests/macro_imports.rs
wasmtime-28.0.0 ./ext/cargo-vendor/tracing-0.1.41/tests/macro_imports.rs
wasmtime-27.0.0 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-26.0.0 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-25.0.2 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-25.0.1 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-25.0.0 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-24.0.0 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-23.0.2 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-22.0.0 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-21.0.1 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-20.0.2 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-20.0.0 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-18.0.3 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-17.0.1 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-17.0.0 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-16.0.0 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-15.0.1 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-15.0.0 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs
wasmtime-14.0.4 ./ext/cargo-vendor/tracing-0.1.40/tests/macro_imports.rs