switch to tracing for logging
This commit is contained in:
1 parent
c8127e164b
commit
c55c17cb81
50 files changed
+95
-78
No files matched your search
@@ -66,7 +66,7 @@ async fn get_server_data() -> Result<String, ServerFnError> {
|
||||
|
||||
fn main() {
|
||||
#[cfg(feature = "web")]
|
||||
wasm_logger::init(wasm_logger::Config::new(log::Level::Trace));
|
||||
wasm_logger::init(wasm_logger::Config::new(tracing::Level::Trace));
|
||||
#[cfg(feature = "ssr")]
|
||||
simple_logger::SimpleLogger::new().init().unwrap();
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ async fn get_server_data() -> Result<String, ServerFnError> {
|
||||
|
||||
fn main() {
|
||||
#[cfg(feature = "web")]
|
||||
wasm_logger::init(wasm_logger::Config::new(log::Level::Trace));
|
||||
wasm_logger::init(wasm_logger::Config::new(tracing::Level::Trace));
|
||||
#[cfg(feature = "ssr")]
|
||||
simple_logger::SimpleLogger::new().init().unwrap();
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ async fn get_server_data() -> Result<String, ServerFnError> {
|
||||
|
||||
fn main() {
|
||||
#[cfg(feature = "web")]
|
||||
wasm_logger::init(wasm_logger::Config::new(log::Level::Trace));
|
||||
wasm_logger::init(wasm_logger::Config::new(tracing::Level::Trace));
|
||||
#[cfg(feature = "ssr")]
|
||||
simple_logger::SimpleLogger::new().init().unwrap();
|
||||
|
||||
|
||||
Reference in new issue
Block a user