[][src]Function ul_sys::ulPlatformSetLogger

pub unsafe extern "C" fn ulPlatformSetLogger(logger: ULLogger)

Set a custom Logger implementation.

This is used to log debug messages to the console or to a log file.

You should call this before ulCreateRenderer() or ulCreateApp().

@note ulCreateApp() will use the default logger if you never call this.

@note If you're not using ulCreateApp(), (eg, using ulCreateRenderer()) you can still use the default logger by calling ulEnableDefaultLogger() (@see <AppCore/CAPI.h>)