Skip to content

Loglevel frontend

Wilhelm Becker requested to merge loglevel-frontend into master

Adds the vuejs-logger plugin to use differen log levels. As example it adds a log with error level to a failed login:

image

It's also possible to assign production to the env NUXT_LOG_ENVIRONMENT to prohibit all logs less important then error logs.

To avoid npm typescipt library conflicts it was necessary to directly add typescript to the packages. I am not sure if we want this trade-off for the log level. On the other hand it didn't cause major problems instead it was only needed to fix ts errors for the newer version, which we need to do anyway at some point.

@marc.hanisch FYI, as you are the nuxt expert here 🤓

Merge request reports

Loading