|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
5.1.12 sd.asaplog - Tool
Wrapper object to allow for both casapy and asap logging
Description
Wrapper object to allow for both casapy and asap logging.
Inside casapy this will connect to ’taskinit.casalog’. Otherwise it will create its own casa log sink.
.. note:: Do not instantiate a new one - use the :obj:’asaplog’ instead.
In the ASAP logging system, log messages are accumulated to the log buffer when you post any message using sd.asaplog.push. Buffered messages are flushed when you call sd.asaplog.post.
sd.asaplog.clear | Clear buffer |
sd.asaplog.disable | Disable (or enable) logging |
sd.asaplog.enable | Enable (or disable) logging |
sd.asaplog.is_enabled | Query if logging is enabled |
sd.asaplog.post | Post message to the logger |
sd.asaplog.push | Push logs into the buffer |
sd.asaplog.disable - Function
sd.asaplog.enable - Function
sd.asaplog.is_enabled - Function
sd.asaplog.post - Function
sd.asaplog.push - Function
More information about CASA may be found at the
CASA web page
Copyright © 2016 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search