# NOT RUN {
lg <- get_logger("test")
# explicetely defining logger configurations with logger_config
# call without arguments to generate the default configuration
cfg <- logger_config()  # same as the unconfigured state of a Logger
lg$config(cfg)
# Creating a logger config form YAML
cfg <- "
Logger:
  name: test/blubb
  threshold: info
  propagate: false
  appenders:
    AppenderFile:
      file: /tmp/blah.txt
"
lg$config(cfg)  # calls as_logger_config() internally
# }
Run the code above in your browser using DataLab