Skip to content

Commit 60c8b89

Browse files
Fix logDebug log level (#2867)
1 parent 437c404 commit 60c8b89

File tree

1 file changed

+1
-1
lines changed
  • packages/firestore/src/util

1 file changed

+1
-1
lines changed

packages/firestore/src/util/log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function setLogLevel(newLevel: LogLevel): void {
3535
export function logDebug(msg: string, ...obj: unknown[]): void {
3636
if (logClient.logLevel <= LogLevel.DEBUG) {
3737
const args = obj.map(argToString);
38-
logClient.error(`Firestore (${SDK_VERSION}): ${msg}`, ...args);
38+
logClient.debug(`Firestore (${SDK_VERSION}): ${msg}`, ...args);
3939
}
4040
}
4141

0 commit comments

Comments
 (0)