[OpenAFS-devel] bosserver cleanup
Christof Hanke
hanke@rzg.mpg.de
Tue, 07 Feb 2006 11:42:54 +0100
Jeffrey Altman wrote:
> Christof Hanke wrote:
>
>
>>Also, I don't see the point of the ViceLog-macro. It just forces you to
>>export the variable LogLevel, which should be private to util.a IMHO.
>
>
> The point of the macro is that it avoids the overhead of a function call
> when the log level is lower than the level associated with a given
> message.
>
> Jeffrey Altman
Ok, I see. If the LogLevel is very high you don't want to slow down the
Server unnecessarily.
So, what about introducing a second macro called SLog or whatever beside
the ViceLog one ?
Christof