inet: Support custom loggers

Makes easier to disable logging from inet while using the log package in other parts of an application.