Oracle has 2 modes of write into log.
-- sync mode (in most cases this is end of transaction)
-- background writes ( each 3 sec or 1/3 of fill of a log buffer)
when oracle write in sync mode (with commit) it generate and write commit marker.
transaction is unrecovereble and has to be rollback during recover process
until log block with commit marker has been write to log file.