added support for hostName and token... token can only be used by creating LoggingEvent directly