logging: Add very basic implementation.