Skip to main content
←API Reference ←com.nianticspatial.nsdk.logging

Logging


Declaration​

class Logging

Summary​

Logging utility class for configuring ARDK log levels. This class provides methods to set the log level for different log outputs:

  • stdout: Logs written to standard output
  • file: Logs written to log files
  • callback: Logs sent to registered callback handlers

Functions​

NameTypeSummary
setCallbackLogLevelvoid
Sets the log level for callback logs.
This function filters out logs of less severity than the specified level
for the callback logger.
setFileLogLevelvoid
Sets the log level for file logs.
This function filters out logs of less severity than the specified level
for the file logger.
setStdoutLogLevelvoid
Sets the log level for stdout logs.
This function filters out logs of less severity than the specified level
for the stdout logger.
setThrottleEnabledvoid
Enables or disables log throttling globally.
When disabled, all throttled log callsites log unconditionally regardless of their
configured interval. Useful for debugging noisy per-frame logs. Throttling is enabled
by default.