Link Search Menu Expand Document


OPENRNDR uses kotlin-logging, which is a Kotlin flavoured wrapper around slf4j, to log its internal workings.

Enabling logging to console

First add slf4j-simple to your project’s dependencies.

dependencies {
    compile 'org.slf4j:slf4j-simple:1.7.36'

Then add -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG to the VM arguments in the launch configuration.

Enabling OpenGL debug messages

If your graphics hardware and drivers support OpenGL debug contexts you can use -Dorg.openrndr.gl3.debug=TRUE to enable the debug messages.