When calling the enable function, the logger should check the pending log and write if required
When calling the enable function, the logger should check the pending log and write if required