Nathan,

i think it is a good idea to use names vs numeric values for verbosity.

what about using "a la" log4c verbosity names ?
http://sourceforge.net/projects/log4c/

static const char* const priorities[] = {
    "FATAL",
    "ALERT",
    "CRIT",
    "ERROR",
    "WARN",
    "NOTICE",
    "INFO",
    "DEBUG",
    "TRACE",
    "NOTSET",
    "UNKNOWN"
};

Cheers,

Gilles

On 5/30/2015 1:32 AM, Nathan Hjelm wrote:
At the moment we have a loosely enforced standard for verbosity
values. In general frameworks accept anything in the range 0 - 100 with
few exceptions. I am thinking about adding an enumerator for verbosities
that will accept values in this range and certain named constants which
will match with specific verbosity levels. One possible set: none - 0,
low - 25, med - 50, high - 75, max - 100. I am open to any set of named
verbosities.

Thoughts?

-Nathan



_______________________________________________
devel mailing list
de...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
Link to this post: 
http://www.open-mpi.org/community/lists/devel/2015/05/17468.php

Reply via email to