Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

184
Vistas
setLogLevel as 'silent' for JS firestore 2022

I'm currently trying the following to disable firestore logging:

import * as firebase from 'firebase/firestore';
firebase.firestore.setLogLevel('silent');

The import statement fails, however. Does anyone know how to do this in 2022? All of the posts I see are old and do not work even if I copy the code down verbatim.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

In the latest SDK versions, most APIs are top-level functions. So setLogLevel is no longer a method on the Firestore service, but instead its own function that you pass a Firestore object to.

import { setLogLevel } from "firebase/firestore";

setLogLevel('silent');

Also see snippets in the Firebase documentation on using Firestore and the upgrade guide for the modular SDKs.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda