Hi, sorry if this seems obvious, but are you using a prefilled pen or a reusable pen? The reusable pens where you just switch the cartridges will record what the last dose was which the pen dispensed. Has been great for me when I've been in your situation!
Wouldn't feel confident to comment on next steps without knowing your usual levemir doses. My understanding is that levemir can take up to 1hr to kick in, and be in your system for as little as 12 hrs and as much as 25 (everyone reacts differently). If you're on twice daily levemir as a lot of people are, I'd be tempted to run a bit higher overnight until your morning levemir dose. I say that rather than risking hypos by having double your levemir tonight, and instead use your bolus to correct before bed but again this can take a while to kick in so be careful not to stack up doses and risk a hypo later.
Are you feeling otherwise unwell? Have you a means of testing ketones? Hope you are able to have a restful night!
Edited for clarity