Public Member Functions | |
def | __init__ |
def | origin |
def | filter |
def | post |
def | postLocally |
def | localId |
def | version |
def | id |
def | setglobal |
def | setlogfile |
def | showconsole |
def | logfile |
Public Attributes | |
this | |
Static Private Attributes | |
dictionary | __swig_setmethods__ |
tuple | __setattr__ |
dictionary | __swig_getmethods__ |
tuple | __getattr__ |
__repr__ | |
__swig_destroy__ | |
__del__ |
Proxy of C++ casac::logsink class
Definition at line 70 of file logsink.py.
def __casac__.logsink.logsink.__init__ | ( | self | ) |
__init__(self) -> logsink
Definition at line 77 of file logsink.py.
def __casac__.logsink.logsink.filter | ( | self, | |
args, | |||
kwargs | |||
) |
filter(self, level=string("DEBUG2")) -> bool Summary Set the filter level Input Parameters: level Level of messages to display to the console/log file ERROR WARN INFO INFO1 INFO2 INFO3 INFO4 INFO5 DEBUG DEBUG1 DEBUG2 INFO --------------------------------------------------------------------------------
Definition at line 99 of file logsink.py.
def __casac__.logsink.logsink.id | ( | self | ) |
id(self) -> string Summary Get ID --------------------------------------------------------------------------------
Definition at line 170 of file logsink.py.
Referenced by gprof2dot.DotWriter.attr_list(), gprof2dot.DotWriter.edge(), and gprof2dot.DotWriter.node().
def __casac__.logsink.logsink.localId | ( | self | ) |
localId(self) -> string Summary Get local ID --------------------------------------------------------------------------------
Definition at line 148 of file logsink.py.
def __casac__.logsink.logsink.logfile | ( | self | ) |
logfile(self) -> string Summary Returns the full path of the log file --------------------------------------------------------------------------------
Definition at line 226 of file logsink.py.
def __casac__.logsink.logsink.origin | ( | self, | |
args, | |||
kwargs | |||
) |
origin(self, fromwhere) -> bool Summary Set the origin of the message Input Parameters: fromwhere The origin of a log messages --------------------------------------------------------------------------------
Definition at line 84 of file logsink.py.
def __casac__.logsink.logsink.post | ( | self, | |
args, | |||
kwargs | |||
) |
post(self, message, priority=string("INFO"), origin=string("")) -> bool Summary Post a message Input Parameters: message Message to be posted priority Priority of message to be posted INFO origin Origin of message to be posted --------------------------------------------------------------------------------
Definition at line 114 of file logsink.py.
def __casac__.logsink.logsink.postLocally | ( | self, | |
args, | |||
kwargs | |||
) |
postLocally(self, message, priority=string("INFO"), origin=string("")) -> bool Summary Post locally Input Parameters: message Message to be posted priority Priority of message to be posted INFO origin Origin of message to be posted --------------------------------------------------------------------------------
Definition at line 131 of file logsink.py.
def __casac__.logsink.logsink.setglobal | ( | self, | |
isglobal = True |
|||
) |
setglobal(self, isglobal=True) -> bool Summary Set this logger to be the global logger Input Parameters: isglobal Use as global logger true --------------------------------------------------------------------------------
Definition at line 181 of file logsink.py.
def __casac__.logsink.logsink.setlogfile | ( | self, | |
args, | |||
kwargs | |||
) |
setlogfile(self, filename=string("casapy.log")) -> bool Summary Set the name of file for logger output Input Parameters: filename filename for logger casapy.log --------------------------------------------------------------------------------
Definition at line 196 of file logsink.py.
def __casac__.logsink.logsink.showconsole | ( | self, | |
onconsole = False |
|||
) |
showconsole(self, onconsole=False) -> bool Summary Choose to send messages to the console/terminal Input Parameters: onconsole All messages to the console as well as log file false --------------------------------------------------------------------------------
Definition at line 211 of file logsink.py.
def __casac__.logsink.logsink.version | ( | self | ) |
version(self) -> string Summary version of CASA --------------------------------------------------------------------------------
Definition at line 159 of file logsink.py.
__casac__.logsink.logsink.__del__ [static, private] |
Definition at line 83 of file logsink.py.
tuple __casac__.logsink.logsink.__getattr__ [static, private] |
Definition at line 75 of file logsink.py.
__casac__.logsink.logsink.__repr__ [static, private] |
Definition at line 76 of file logsink.py.
tuple __casac__.logsink.logsink.__setattr__ [static, private] |
Definition at line 73 of file logsink.py.
__casac__.logsink.logsink.__swig_destroy__ [static, private] |
Definition at line 82 of file logsink.py.
dictionary __casac__.logsink.logsink.__swig_getmethods__ [static, private] |
Definition at line 74 of file logsink.py.
dictionary __casac__.logsink.logsink.__swig_setmethods__ [static, private] |
Definition at line 72 of file logsink.py.
Definition at line 81 of file logsink.py.