Implement logging classes.