Mercurial > traipse_dev
diff orpg/tools/orpg_log.py @ 124:8827271fbe1b alpha
Traipse Alpha 'OpenRPG' {091001-01}
Traipse is a distribution of OpenRPG that is designed to be easy to setup and go.
Traipse also makes it easy for developers to work on code without fear of
sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the
code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the
productivity of the user.
Update Summary (Cleaning up for Beta)
Added Bookmarks
Fix to Remote Admin Commands
Minor fix to text based Server
Fix to Pretty Print, from Core
Fix to Splitter Nodes not being created
Fix to massive amounts of images loading, from Core
Added 'boot' command to remote admin
Added confirmation window for sent nodes
Minor changes to allow for portability to an OpenSUSE linux OS
Miniatures Layer pop up box allows users to turn off Mini labels, from FlexiRPG
Zoom Mouse plugin added
Images added to Plugin UI
Switching to Element Tree
Map efficiency, from FlexiRPG
Added Status Bar to Update Manager
default_manifest.xml renamed to default_upmana.xml
Cleaner clode for saved repositories
New TrueDebug Class in orpg_log (See documentation for usage)
Mercurial's hgweb folder is ported to upmana
Happy Halloween!
author | sirebral |
---|---|
date | Sun, 01 Nov 2009 11:36:14 -0600 |
parents | 174658f839c0 |
children | 0f720618a8bd |
line wrap: on
line diff
--- a/orpg/tools/orpg_log.py Sun Nov 01 01:12:50 2009 -0600 +++ b/orpg/tools/orpg_log.py Sun Nov 01 11:36:14 2009 -0600 @@ -62,12 +62,13 @@ def write(self, text): #logger.stdout(text) wx.Yield() - #sys.__stdout__.write(text) + sys.__stdout__.write(text) class TrueDebug(object): ### Alpha ### - """A simple debugger. Add debug() to a function and it prints the function name and any objects included. + """A simple debugger. Add debug() to a function and it prints the function name and any objects included. Add an object or a group of objects in ()'s. Adding True to locale prints the file name where the function is. Adding False to log turns the log off. + Adding True to parents will print out the parent functions, starting from TrueDebug. This feature can be modified to trace deeper and find the bugs faster, ending the puzzle box.""" def __init__(self, objects=None, locale=False, log=True, parents=False): if log == False: return