Namespace: log

wsc_flash. log

The API logging facilities. By default, the logging will output to the console.

Methods

debug(message)

Outputs a debug level message.

Parameters:
Name Type Description
message string

The message to output

error(message, cause)

Output an error level message.

Parameters:
Name Type Description
message string

The message to output

cause object

The cause of the error

info(message)

Outputs an info level message.

Parameters:
Name Type Description
message string

The message to output

warn(message)

Outputs a warn level message.

Parameters:
Name Type Description
message string

The message to output

Oracle® Communications WebRTC Session Controller JavaScript API Reference, E55131-03
Copyright © 2013, 2015, Oracle and/or its affiliates. All rights reserved.