tools/code_coverage/coverage_utils.py
def ConfigureLogging(verbose=False, log_file=None):
  """Configures logging settings for later use."""
  log_level = logging.DEBUG if verbose else logging.INFO
  log_format = '[%(asctime)s %(levelname)s] %(message)s'
  logging.basicConfig(filename=log_file, level=log_level, format=log_format)
Configures logging settings for later use.
Configures logging settings for later use.
Configures logging settings for later use .
def ConfigureLogging(verbose=False, log_file=None):
  log_level = logging.DEBUG if verbose else logging.INFO
  log_format = '[%(asctime)s %(levelname)s] %(message)s'
  logging.basicConfig(filename=log_file, level=log_level, format=log_format)
def ConfigureLogging ( verbose = False , log_file = None ) : log_level = logging . DEBUG if verbose else logging . INFO log_format = '[%(asctime)s %(levelname)s] %(message)s' logging . basicConfig ( filename = log_file , level = log_level , format = log_format )
Configures logging settings for later use.
Configures logging settings for later use .
"""Configures logging settings for later use."""
verbose
log_file