Skip to content

Releases: MnlPhlp/flutter_logger

More options for init macro

07 Feb 10:17
0c1c189
Compare
Choose a tag to compare

Added some optional arguments to the init macro.
Only one macro call can be active in a crate because of conflicting implementations.

  • default:
    flutter_logger::flutter_logger_init!();
  • sepcify level
    flutter_logger::flutter_logger_init!(LeveFilter::Trace);
  • sepcify name
    flutter_logger::flutter_logger_init!(logger_init);
  • sepcify both
    flutter_logger::flutter_logger_init!(info_logger, LevelFilter::Info);

Support flutter_rust_bridge 2

24 Jan 22:31
63963f2
Compare
Choose a tag to compare
  • Changed setup to support flutter_rust_bridge 2
  • macro for easy initialization