Ignore:
Timestamp:
03/07/11 12:49:44 (9 years ago)
Author:
aspidites
Message:

Patch by Aspidites:

  • converted print statements to logging messages.
  • all of parpg's log messages go to the same file, but are differenciated by their class names
  • need to find a way to manipulate fife's log level
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/active/character_customization/game/parpg/dialogueparsers.py

    r774 r797  
    2525@TODO Technomage 2010-11-13: Support reading and writing unicode. 
    2626""" 
    27 import logging 
    2827try: 
    2928    from cStringIO import StringIO 
     
    4645from parpg.dialogueactions import DialogueAction 
    4746 
    48 def setup_logging(): 
    49     """Set various logging parameters for this module.""" 
    50     module_logger = logging.getLogger('dialogueparser') 
    51     if (__debug__): 
    52         module_logger.setLevel(logging.DEBUG) 
    53 setup_logging() 
     47import logging 
     48logger = logging.getLogger('dialogueparser') 
    5449 
    5550class DialogueFormatError(Exception): 
Note: See TracChangeset for help on using the changeset viewer.