Writing Modules: Get Debug Level
g4-lisz at tonarchiv.ch
g4-lisz at tonarchiv.ch
Sat Sep 17 13:43:06 UTC 2022
I think I found it:
if (rad_debug_lvl == ...) {
I will test this now.
Cheers
Till
On 17.09.22 14:55, g4-lisz at tonarchiv.ch wrote:
> Hi everyone
>
> I have a simple porgramming question: I want some program block only
> executed on a certain debug level, like:
>
> if (loglevel == LEVEL_DEBUG2) {
> calculate( &something );
> DEBUG2(..., something);
> }
>
> Best reagrds,
> Till
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list