setLogLevel function

  1. @JS()
void setLogLevel(
  1. String logLevel
)

Sets the verbosity of Cloud Firestore logs.

Parameter logLevel is the verbosity you set for activity and error logging.

Can be any of the following values:

  • 'debug' for the most verbose logging level, primarily for debugging.
  • 'error' to log errors only.
  • 'silent' to turn off logging.

Implementation

@JS()
external void setLogLevel(String logLevel);