Support much more operations to do with logs. Still working on it.