Introduce public Union Station logging APIs.

This will allow us to implement Union Station support for non-Rails Ruby web frameworks.