Added LogContainer::clear() method.