android_logger-rs icon indicating copy to clipboard operation
android_logger-rs copied to clipboard

allow creating a PlatformLogWriter directly from a priority

Open snowp opened this issue 2 years ago • 0 comments

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.

snowp avatar Jul 24 '22 14:07 snowp