예제 #1
0
def terminate():
    # Set the log level to off.
    louis.setLogLevel(louis.LOG_OFF)
    # Unregister the liblouis logging callback.
    louis.registerLogCallback(None)
    # Free liblouis resources
    louis.liblouis.lou_free()
예제 #2
0
def terminate():
	# Set the log level to off.
	louis.setLogLevel(louis.LOG_OFF)
	# Unregister the liblouis logging callback.
	louis.registerLogCallback(None)
	# Free liblouis resources
	louis.liblouis.lou_free()
예제 #3
0
def initialize():
    # Register the liblouis logging callback.
    louis.registerLogCallback(louis_log)
    # Set the log level to debug.
    # The NVDA logging callback will filter messages appropriately,
    # i.e. error messages will be logged at the error level.
    louis.setLogLevel(louis.LOG_DEBUG)
예제 #4
0
def initialize():
	# Register the liblouis logging callback.
	louis.registerLogCallback(louis_log)
	# Set the log level to debug.
	# The NVDA logging callback will filter messages appropriately,
	# i.e. error messages will be logged at the error level.
	louis.setLogLevel(louis.LOG_DEBUG)