API Docs for: 1.0.2
Show:

Log Class

Module: aw2.log

object providing Log storage and methods

Constructor

Log

()

Item Index

Properties

Methods

clear

() Undefined

clears the internal log storage.

Returns:

Undefined:

disable

(
  • logType
)
Undefined

disables one or more specified logging types.

Parameters:

  • logType String multiple

    logging type(s)

Returns:

Undefined:

enable

(
  • logType
)
Undefined

enables one or more specified logging types.

Parameters:

  • logType String multiple

    logging type(s)

Returns:

Undefined:

get

() Array

returns the internal logging array.

Returns:

Array: the internal logs currently being stored

isLogging

() Undefined

returns the types of logging currently being used.

Returns:

Undefined:

log

(
  • data
)
Undefined

the basic log function which will perform logging of inputs

Parameters:

  • data Any multiple

    data to be logged

Returns:

Undefined:

Properties

$aw2.log

Object

Container for Log plugin functions to be made available.