~nataliabidart/magicicada-gui/glade-ui

« back to all changes in this revision

Viewing changes to magicicada/logger.py

  • Committer: Tarmac
  • Author(s): Natalia B. Bidart
  • Date: 2012-08-21 23:27:53 UTC
  • mfrom: (126.1.4 migrate-to-gi)
  • Revision ID: tarmac-20120821232753-6x28f05vmms0ts3j
- Migrating the GTK+ UI to use GObject instrospection.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
    handler.setFormatter(formatter)
91
91
    logger.setLevel(logging.DEBUG)
92
92
 
93
 
    if os.getenv('DEBUG'):
 
93
    if os.getenv('MAGICICADA_DEBUG'):
94
94
        console = logging.StreamHandler()
95
95
        console.setLevel(logging.DEBUG)
96
96
        console.setFormatter(formatter)