Add basic LOGGING structure.

@txels