20 Apr
2007
20 Apr
'07
8:34 p.m.
Na Fri, Apr 20, 2007 at 09:55:33PM +0200, Xavier <shiningxc@gmail.com> pisal(a):
I see : config->debug |= PM_LOG_WARNING; which seems to always happen.
yes, but then parseargs() it will be overwritten by the given value
Hmm, in this case, it indeed gives total configuration of the log level. And yes, having a letter for each kind of log would probably makes it easier.
PM_LOG_DEBUG -> d PM_LOG_ERROR -> e PM_LOG_WARNING -> w PM_LOG_FLOW1 -> ? PM_LOG_FLOW2 -> ? PM_LOG_FUNCTION -> maybe f i'm not sure about the question marks thanks, VMiklos -- developer of Frugalware Linux - http://frugalware.org