File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ## 2.x.y - tbd
6+ ### Changed
7+ - More robust agains library loading order problems
8+
59## 2.2.0 – 2022-06-27
610### Added
711- Respect server log level and debug mode settings
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ export class LoggerBuilder {
1515 this . context = { }
1616 this . factory = factory
1717 // Up to, including, nextcloud 24 the loglevel was not exposed
18- this . context . level = OC . config ?. loglevel !== undefined ? OC . config . loglevel : LogLevel . Warn
18+ this . context . level = OC ? .config ?. loglevel !== undefined ? OC . config . loglevel : LogLevel . Warn
1919 // Override loglevel if we are in debug mode
20- if ( OC . debug ) {
20+ if ( OC ? .debug ) {
2121 this . context . level = LogLevel . Debug
2222 }
2323 }
You can’t perform that action at this time.
0 commit comments