Logging: Create a sane and extentable logging interface

Also based upon the views-menu stuff.