blob: cf0930c61af48051e34b11fa096af324d69f565a [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#[fuchsia_async::run_singlethreaded]
async fn main() -> Result<(), anyhow::Error> {
diagnostics_log::init!();
tracing::trace!("should not print");
tracing::info!("should print");
tracing::info!({ foo = 1, bar = "baz" }, "hello, world!");
log::warn!("warning: using old api");
Ok(())
}