Fixed crash when setting logentries with winston

When opts was not provided crashed when calling winston.add.
Added missing semicolons.