[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Marvin-cvs] marvin/src/libnn input/inputTdnnVisitor.ml misc...
From: |
Olivier Ricordeau |
Subject: |
[Marvin-cvs] marvin/src/libnn input/inputTdnnVisitor.ml misc... |
Date: |
Tue, 09 Sep 2003 11:58:23 -0400 |
CVSROOT: /cvsroot/marvin
Module name: marvin
Branch:
Changes by: Olivier Ricordeau <address@hidden> 03/09/09 11:58:23
Modified files:
src/libnn/input: inputTdnnVisitor.ml
src/libnn/misc : env.ml
src/libnn/xml : check.Makefile check.ml xmlVisitor.ml
Log message:
Implemented verbosity levels. Anyone who wants to code something in
LibNN
*must* read this (copy/paste of the comment in misc/env.ml):
-----------------------------------------------------------------------------
Verbosity levels (possible values for the _verbosity attribute):
0 -> Nothing at all is displayed.
1 -> Only errors are displayed.
2 -> Errors and warnings are displayed.
3 -> Errors + warnings + LibNN verbosity 1 (only basic informations
displayed).
4 -> Errors + warnings + LibNN verbosity 2 (when a method listed in the
API
is called, one message is displayed).
5 -> Errors + warnings + LibNN verbosity 3 (when a method listed in the
API
is called, more than one message will be displayed).
6 -> Errors + warnings + LibNN verbosity 4 (debugging informations are
displayed).
What verbosity level shoul I use?
While writing/debugging a software that uses LibNN, 4 is fine.
For an official release of a software that uses LibNN, 3 is fine.
-----------------------------------------------------------------------------
Now, any action in LibNN must be displayed. One should use:
plop#out "module name" "the message" min_verrbosity_level
(where plop is an instance of nn) to display something on the standard
output,
and
plop#err "module name" "the message" min_verrbosity_level
(where plop is an instance of nn) to display something on the error
output.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/marvin/marvin/src/libnn/input/inputTdnnVisitor.ml.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/marvin/marvin/src/libnn/misc/env.ml.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/marvin/marvin/src/libnn/xml/check.Makefile.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/marvin/marvin/src/libnn/xml/check.ml.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/marvin/marvin/src/libnn/xml/xmlVisitor.ml.diff?tr1=1.10&tr2=1.11&r1=text&r2=text