Allow passing log time to emit

Hi, we need to be able to emit with an external timestamp.

Do you think this could be added to the standard package?

Any change or suggestions are more than welcome!
Thanks!