android_logger-rs
android_logger-rs copied to clipboard
allow creating a PlatformLogWriter directly from a priority
This allows for better ergonomics for users that want to use the PlatformLogWriter without using the log
crate directly, e.g. when using another logging framework to log (like slog). Without this, callers need to first map to a log::Level instead of directly mapping to Android priorities.