log <-logger(appenders =console_appender(layout =json_log_layout()))info(log, "Log starting.")warn(log, "This is a warning!")error(log, "This is an error.")debug(log, "This won't show up.")## {"message":"Log starting.","level":"INFO","time":"2022-12-03T16:35:23Z"}## {"message":"This is a warning!","level":"WARN","time":"2022-12-03T16:35:23Z"}## {"message":"This is an error.","level":"ERROR","time":"2022-12-03T16:35:23Z"}