Added support for log prefixes
Writing to log now returns a Log ID that is almost guaranteed to be unique
Logs user's IP if available