level

Parameters

level

The minimum level of log messages to show. If set to Level.OFF, no logs will be shown. See the Level enum for more details. Level.DEBUG is a decent balance of verbosity and usefulness. Level.TRACE is incredibly verbose, and is mostly intended for locally debugging. It probably shouldn't be used in production, but it can be helpful when trying to debug a particularly tricky issue (such as a CORS misconfiguration or a case where the ktor server is sending you back 403s).