API Docs for version 1.2.6401

logger

Module: Circuit

static

Summary

API logger instance.

Item Index

Methods

Methods

getLevel

Syntax

getLevel

() LogLevel

Summary

Get the log level for API logging.

Returns:

LogLevel:

Log level

Example:

var level = Circuit.logger.getLevel();

setLevel

Syntax

setLevel

(
  • level
)
Void

Summary

Set the log level for API logging.

Parameters:

Returns:

Void:

Example:

Circuit.logger.setLevel(Circuit.Enums.LogLevel.Debug);