Class: Console

Apps~Console

new Console(callback)

Console Debug for JavaScript.

Name Type Description
callback function
Version:
  • 0.6.1
License:
  • MIT

Requires

Classes

Types

Members

body DOMElement

console object

index number

maxdepth number

maxrow number

inner entityMap string

Properties:
Name Type Default Description
"&" string &
"<" string <
">" string >
"\"" string "
"'" string '
"/" string /

Type Definitions

Log type decorator

Properties:
Name Type Description
Undefined Apps~Console~Types#Undefined
Null Apps~Console~Types#Null
Function Apps~Console~Types#Function
String Apps~Console~Types#String
Boolean Apps~Console~Types#Boolean
Number Apps~Console~Types#Number
Date Apps~Console~Types#Date
HTML Apps~Console~Types#HTML
ArrayBuffer Apps~Console~Types#ArrayBuffer
Event Apps~Console~Types#Event
Window Apps~Console~Types#Window
HTMLDocument Apps~Console~Types#HTMLDocument
Error Apps~Console~Types#Error
DOMException Apps~Console~Types#DOMException
TypeError Apps~Console~Types#TypeError
Object Apps~Console~Types#Object
Array Apps~Console~Types#Array

Methods

append(args, logType)

Name Type Description
args array
logType string

getConstructor(obj){string}

Name Type Description
obj object
Returns:
Type Description
string constructor name

getFunctionName(func){string}

Name Type Description
func function
Returns:
Type Description
string function name

scroll(scrolled)

Name Type Description
scrolled boolean

inner escapeHtml(str){string}

Name Type Description
str string
Returns:
Type Description
string escaped HTML string

inner log(string)

Name Type Description
string string

inner visible(){boolean}

Returns:
Type Description
boolean true if element is visible
comments powered by Disqus