Implement YACL.Logger's logging logic and YACL#logs property