Logging

Logging

Class for the logging util functions.

Constructor

new Logging()

Methods

(static) logOnce(message, logLevel)

Log the message once in the Logging lifetime

Parameters:
Name Type Description
message String

logging message. Will be suppressed if it has been logged once.

logLevel LoggingUtils.WARN | LoggingUtils.ERROR | LoggingUtils.DEBUG | LoggingUtils.LOG

(static) warnExtension(extension, messagenullable)

Warn the unsupported extension once. Prevent duplicate warning in each frame which slow down the rendering.

Parameters:
Name Type Attributes Description
extension String

name of extension

message String <nullable>

extra warning message