def initialize(host=None, port=None, errorHandler=None):
    """
    Initialize logger and set configuration


    :param string   host:           HypnoLog server host name. Default is "localhost"
    :param int      port:           HypnoLog server port number. Default is 7000
    :param function errorHandler:   Function to handle when inner HypnoLog error occure. Of
                                    signature (error). If not given, default behavior will be used.
    """
    global _host, _port, _errorHandler
    if host != None:
        _host = host
    if port != None:
        _port = port
    if errorHandler != None:
        _errorHandler = errorHandler
