osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recommended format for --log-level option


What is the recommended format for --log-level (or --loglevel?) command line 
option?

Is it a number or NOTSET|DEBUG|INFO|WARNING|ERROR|CRITICAL?

Or should I accept both numbers and these string constants?

-- 
Victor Porton - http://portonvictor.org