Log:

As you go online and offline, the log should be filled with the correct status of navigator.onLine.