powerdns_pipe
powerdns_pipe copied to clipboard
log api in query responder block
How do you feel about adding a log api in the query responder block context to allow for individual logging while processing the request?
Something like this:
module PowerDNS
class Pipe
class Answer
def log(msg); @pipe.log msg; end
end
def log(msg); respond('LOG', msg); end
end
end