allow apps to define their own logging