Function bones_framework::logging::setup_logging_default
source ยท pub fn setup_logging_default(
app_namespace: (&str, &str, &str),
) -> Option<LogFileGuard>
Expand description
Helper to call setup_logging
conciseably with reasonable defaults for logging to console and file system.
This uses default LogSettings
with addition of enabling logging to files. If logging to file is not desired,
you can call setup_logging(LogSettings::default())
instead.
See setup_logging
docs for details.