[−][src]Function kubos_app::setup_log
pub fn setup_log(name: &str, log_level: LevelFilter) -> Result<(), Error>
Set up the logger for the program
All log messages will be sent to rsyslog using the User facility.
Additionally, they will also be echoed to stdout
Arguments
name
- The application name which should be used for all log messageslog_level
- The minimum logging level which should be recorded