console-logger-utils-reactive
Reactive icon

Console Logger Utils - Reactive

Stable version 1.0.1 (Compatible with OutSystems 11)
Published on 2 May by 
0.0
 (0 ratings)
console-logger-utils-reactive

Console Logger Utils - Reactive

Documentation
1.0.0

Actions


 Logging


Console_Count

Logs the number of times this actions has been called with the given label (if provided).
More info: https://developer.mozilla.org/en-US/docs/Web/API/Console/count

Input parameters

NameDescriptionDataTypeMandatory
LabelName to use for the counter. If not provided, its value is 'default'.Text


Console_Error

Displays an error message. More info: https://developer.mozilla.org/en-US/docs/Web/API/Console/error

Input parameters

NameDescriptionDataTypeMandatory
LogTextText to log.Text
CSSStyleCSS rules to customized the logging message.Text


Console_Log

Displays an log message. More info: https://developer.mozilla.org/en-US/docs/Web/API/Console/log

Input parameters

NameDescriptionDataTypeMandatory
LogTextText to log.Text
CSSStyleCSS rules to customized the logging message.Text


 Console_Warn

Displays a warning message. More info: https://developer.mozilla.org/en-US/docs/Web/API/Console/warn

Input parameters

NameDescriptionDataTypeMandatory
LogTextText to log.Text
CSSStyleCSS rules to customized the logging message.Text



 Timer


Console_StartTimer

Starts a timer. If provided, names the timer with indicated label.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Console/time

Input parameters

NameDescriptionDataTypeMandatory
 LabelName to use for the timer.Text


Console_ShowTimeLog

Logs the current value of a timer that was previously started by calling the action Console_StartTimer (aka console.time()) to the console.
If there is no running timer, timeLog() returns a warning.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Console/timeLog

Input parameters

NameDescriptionDataTypeMandatory
 LabelName to use for the time log.Text


Console_EndTimer

Stops the specified timer and logs the elapsed time in seconds since it started. To stop a labeled timer it should be indicated in the label attribute. More info: https://developer.mozilla.org/en-US/docs/Web/API/Console/timeEnd

Input parameters

NameDescriptionDataTypeMandatory
LabelName to reference the timer.Text


Console_AddTimeStamp

Adds a marker to the browser's Timeline or Waterfall tool. Check for more info: https://developer.mozilla.org/en-US/docs/Web/API/Console/timeStamp

Input parameters

NameDescriptionDataTypeMandatory
LabelName to use for the timestamp.Text



 LoggingCompoundElement


Console_Dir

Displays an interactive listing of the properties of a specified JavaScript object. This listing lets you use disclosure triangles to examine the contents of child objects. More info: https://developer.mozilla.org/en-US/docs/Web/API/Console/dir

Input parameters

NameDescriptionDataTypeMandatory
 JSON_Serialized_ObjectThe record to log serialized.
Text


Console_Table_List

Displays a list as tabular data. More info: https://developer.mozilla.org/en-US/docs/Web/API/Console/table

Input parameters

NameDescriptionDataTypeMandatory
 JSON_Serialized_ListThe list to log serialized.Text
 AttributesComma separated string of attributes to filter the attributes to show. If not provided, displays all properties.
Text


Console_Table_Object

Displays a record as tabular data. More info: https://developer.mozilla.org/en-US/docs/Web/API/Console/table

Input parameters

NameDescriptionDataTypeMandatory
 JSON_Serialized_RecordThe record to log serialized.Text



Check official browsers' documentation @ https://developer.mozilla.org/en-US/docs/Web/API/console