Add support for 'types' and 'scopes'.

By extending `BaseLog` instead of implementing `CakeLogInterface`,
takes advantage of the recently implemented `types` and `scopes`.