File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/database/src/core/util Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import { stringToByteArray } from '@firebase/util';
27
27
import { stringify } from '@firebase/util' ;
28
28
import { SessionStorage } from '../storage/storage' ;
29
29
import { isNodeSdk } from '@firebase/util' ;
30
- import { Logger } from '@firebase/logger' ;
30
+ import { Logger , LogLevel } from '@firebase/logger' ;
31
31
32
32
const logClient = new Logger ( '@firebase/database' ) ;
33
33
@@ -108,6 +108,7 @@ export const enableLogging = function(
108
108
"Can't turn on custom loggers persistently."
109
109
) ;
110
110
if ( logger_ === true ) {
111
+ logClient . logLevel = LogLevel . VERBOSE ;
111
112
logger = logClient . log . bind ( logClient ) ;
112
113
if ( persistent ) SessionStorage . set ( 'logging_enabled' , true ) ;
113
114
} else if ( typeof logger_ === 'function' ) {
You can’t perform that action at this time.
0 commit comments