Allow binding variables to loggers

This is to allow custom arguments to be logged with every message
returned by a logger.

Use-case: in centralized logging, I want to know which application
generated every message.
That would also mean `MemoryLogger` doesn't have to implement this feature.