Daniel-Constantin Mierla writes:
$rm should return method type as integer when used in
integer
operations. This together with a shared variable (e.g., $shv(x) -- they
can be changed at runtime via mi/rpc) and bitwise 'and' can be used to
achieve what you want in your config.
without if statements?
Introducing the check inside the module will make the
'if' to be
executed for each xlog function. Personally I would prefer to avoid
introducing in the code all kind of filtering conditions, especially if
they are not very common.
no problem. i can make a private version of xlog module that includes
this one extra c if statement.
-- juha