# Path: ice/logs.py
# STREAM_STRING_FORMAT = '%(leveltag)s%(message)s'
# FILE_STRING_FORMAT = '%(asctime)s [%(levelname)s][%(filename)s][%(funcName)s:%(lineno)s]: %(message)s'
# def is_test_stack_frame(frame):
# def is_running_in_test():
#   def _tag_for_level(self, levelno):
#   def filter(self, record):
# def create_stream_handler(level):
# def create_file_handler(level):
# def create_logger():
# class IceLevelTagFilter(logging.Formatter):


from ice.logs import logger
#!/usr/bin/env python
# encoding: utf-8


# TODO(#368); This shouldn't be necessary as part of the app. We shouldn't be
# relying on log messages as our UI
class LogAppStateTask(object):

  def __call__(self, app_settings, users, dry_run):
    for emulator in app_settings.emulators:
      logger.info("Detected Emulator: %s" % emulator.name)

    for console in app_settings.consoles:

# Path: ice/logs.py
# STREAM_STRING_FORMAT = '%(leveltag)s%(message)s'
# FILE_STRING_FORMAT = '%(asctime)s [%(levelname)s][%(filename)s][%(funcName)s:%(lineno)s]: %(message)s'
# def is_test_stack_frame(frame):
# def is_running_in_test():
#   def _tag_for_level(self, levelno):
#   def filter(self, record):
# def create_stream_handler(level):
# def create_file_handler(level):
# def create_logger():
# class IceLevelTagFilter(logging.Formatter):


# Path: ice/tasks/logging.py
from ice.logs import logger

#!/usr/bin/env python
# encoding: utf-8


# TODO(#368); This shouldn't be necessary as part of the app. We shouldn't be
# relying on log messages as our UI
class LogAppStateTask(object):

  def __call__(self, app_settings, users, dry_run):
    for emulator in app_settings.emulators:
      logger.info("Detected Emulator: %s" % emulator.name)

    for console in app_settings.consoles:

      logger.info("Detected Console: %s => %s" % (console.fullname, console.emulator.name))