[ET Trac] [Einstein Toolkit] #119: Have multiple dprints
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Nov 29 09:41:24 CST 2010
#119: Have multiple dprints
-------------------------+--------------------------------------------------
Reporter: eschnett | Owner: mthomas
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: SimFactory | Version:
Keywords: |
-------------------------+--------------------------------------------------
If there are multiple versions of dprint specifying the intent ("I am
going to abort with an error", "this is a severe problem", "warning", "log
message"), then one could probably omit the second argument that specifies
whether to print the error always. This would be a higher level interface
and could make it easier to use.
dabort
derror
dwarn
dlog
Internally, these would just call dprint, depending on the verbosity level
and environment settings. For example, dabort would always print, and
dwarn would not print if it happens during a non-essential operation. dlog
would only print if the verbosity is high.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/119>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list