Give us feedback
client-logger
Reactive icon

Client Logger

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 20 October 2022 by 
5.0
 (1 rating)
client-logger

Client Logger

Documentation
1.0.0

Overview

eSpace Name

ClientLogger_Lib

Description

Library with client actions useful to log inside the browser console and the service center.


Implementation

Actions

Client Actions


DisableClientLogger

Disable the client logger service.


EnableClientLogger

Enable the client logger service.

Input parameters

Name

Description

DataType

Mandatory

LogToConsole

Csv File Custom Object

Boolean

Yes

ConsoleMiniumLevel

The log minium level.

0 - Error

1 - Warning

2 - Info

3 - Log

Integer

Yes

LogToServiceCenter

Enable the logger to trace message inside Service Center.

Boolean

Yes

ServiceCenterMiniumLevel

Important: The logging message for levels "Log,Info,Warning" are shown inside the General Log and the messages for level "Error" are shown on "Error Log" inside service center.

The log minium level.

0 - Error

1 - Warning

2 - Info

3 - Log

Integer

Yes

EnableDevPopup

Enable the DevPopup

Boolean

Yes

StoreMessageForDevPopup

Indicate if the logger must keep the messages until the Dev Popup is shown. Default:False

Boolean

No



ShowClientLoggerDevPopup

Show the dev popup.

This action doesn’t have parameters

 

LogDebug

Trace message with Log Level

Input parameters

Name

Description

DataType

Mandatory

Scope

Category,action name, everything....

Text

Yes

Message

The message to log

Text

Yes



LogError

Trace message with Error Level

Input parameters

Name

Description

DataType

Mandatory

Scope

Category,action name, everything....

Text

Yes

Message

The message to log

Text

Yes


LogInfo

Trace message with Info Level

Input parameters

Name

Description

DataType

Mandatory

Scope

Category,action name, everything....

Text

Yes

Message

The message to log

Text

Yes



LogJsonString

Trace message with Log Level, try to parse the string in json if the json is valid it will be part of the message.

Input parameters

Name

Description

DataType

Mandatory

Scope

Category,action name, everything....

Text

Yes

Message

The message to log

Text

Yes

JsonString

The json string to parse and log.

Text

Yes


LogObject

Trace message with Log Level, try to parse the object in json if the json/object is valid it will be part of the message.

Input parameters

Name

Description

DataType

Mandatory

Scope

Category,action name, everything....

Text

Yes

Message

The message to log

Text

Yes

Object

The objject to log.

Object

Yes


LogWarning

Trace message with Warning Level

Input parameters

Name

Description

DataType

Mandatory

Scope

Category,action name, everything....

Text

Yes

Message

The message to log

Text

Yes