this module is not finished, but I wanted to push it in case I need to work on it on the netbook. Half-complete debug.py.
This commit is contained in:
parent
d438cdde94
commit
03b81fcaef
@ -0,0 +1,21 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
# Debugger module for the Fenrir screen reader.
|
||||
|
||||
class debug():
|
||||
def __init__(self, level=0i, debugFile=/var/log/fenrir.log)
|
||||
self.debugLevel = level
|
||||
|
||||
def get_debug_level():
|
||||
return debugLevel
|
||||
|
||||
def set_debug_level(level):
|
||||
debugLevel = level
|
||||
|
||||
def get_debug_file():
|
||||
return debugFile
|
||||
|
||||
def set_debug_file(file):
|
||||
debugFile = file
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user