Closed rjahn closed 1 year ago
You can configure the log level only via the code. In the class "FlutterUI" are statically defined logged with their respective log level. There you can change them. We should make them somewhat accessible in the near future.
OK, but the config should be different in dev and prod mode!
Only the default logger is set to two different levels depending on the mode(prod: info, debug: debug). The rest always logs on info. In prod we should probably go down to warnings.
or error?
We could. But if we integrate some kind of files log or remote log for future users, we should stay on warning level so we can potentially see errors coming and how they formed, instead of just reacting to the errors themselves.
WARN is better than INFO right now
We should add the option to customize log levels via config.
Default log setting logs many things? Not sure if this slows down the application a little bit?
Is there a loglevel or something to configure?