Logger source
Specializes Montage
Properties
-
buffered :Property source
-
Default Value: - {boolean} false
-
flush source
-
Log all the contents the logger's buffer.
-
isDebug :boolean source
-
-
isError :boolean source
-
-
name :string source
-
Default Value: - {string} null
Methods
-
callDelegateMethod(name) source
-
This method calls the method named with the identifier prefix if it exists. Example: If the name parameter is "shouldDoSomething" and the caller's identifier is "bob", then this method will try and call "bobShouldDoSomething"
Parameters:
Name Type Description namestring Inherited From: -
debug(object) source
-
Parameters:
Name Type Argument Description objectFunction | String If the first argument is a function the logger with print its name
...string <optional>
-
equals(anObject) → {boolean} source
-
Returns true if two objects are equal, otherwise returns false.
Parameters:
Name Type Description anObjectObject The object to compare for equality.
Inherited From: Returns: boolean
Returns
trueif the calling object andanObjectare identical and theiruuidproperties are also equal. Otherwise, returnsfalse. -
error(object) source
-
Parameters:
Name Type Argument Description objectFunction | String If the first argument is a function the logger with print its name
...string <optional>
-
init(name, dontStoreState) source
-
Parameters:
Name Type Argument Default Description namestring The name of the logger.
dontStoreStateState <optional>
false If true, don't store the isDebug state of the logger in localStorage .
Returns:
itself
-
toTimeString() source
-
Prints the current time in format HH:MM:SS.000
Generated from a4679af