Abstraction for printing network debug messages.