Module leptos::logging

source ·
Expand description

Utilities for simple isomorphic logging to the console or terminal.

Macros§

  • Uses println!()-style formatting to log warnings to the console (in the browser) or via eprintln!() (if not in the browser), but only if it’s a debug build.
  • Uses println!()-style formatting to log errors to the console (in the browser) or via eprintln!() (if not in the browser).
  • Uses println!()-style formatting to log something to the console (in the browser) or via println!() (if not in the browser).
  • Uses println!()-style formatting to log warnings to the console (in the browser) or via eprintln!() (if not in the browser).