Namespace: Logger

Appearition.Logger

Use this module to log events to the Appearition platform

Version:
  • 1.0.0
Author:
  • Appearition Pty Ltd

Methods

Appearition.Logger.Log (request, requestOptions) static

Posts a message to the Appearition platform where it will be logged in the configured provider

Name Type Description
request Appearition.Logger.EventLoggerRequest

The message and any parameters that are being logged

requestOptions Appearition.RequestOptions

Configure the request and callbacks

Type Definitions

Appearition.Logger.EventLoggerRequest

Holds the message and any key value parameters for request the log post

Properties:
Name Type Description
message string

Holds the message that is being logged

params Array.<Appearition.Logger.EventLoggerRequestParam>

A collection of key value pairs

Appearition.Logger.EventLoggerRequestParam

A Key Value pair that is used in the paras member of the EventLoggerRequest

Properties:
Name Type Description
key string

any string value that will be use in the log post

value string

any string value which will be replaced for the key in the log post