Other functions¶
- pdnslog(message[, loglevel])¶
Log the message at the daemon level
- Parameters:¶
You can use the following constants as log levels :
pdns.loglevels.Alert
pdns.loglevels.Critical
pdns.loglevels.Debug
pdns.loglevels.Emergency
pdns.loglevels.Error
pdns.loglevels.Info
pdns.loglevels.Notice
pdns.loglevels.Warning
- pdnsrandom([upper_bound])¶
Get a random number.