Logging Methods

The jsonverse class provides methods for logging messages to both the console and log files.

Use this method to log messages that should be displayed in the console and recorded in a log file.

logError(message) Method

The logError(message) method logs an error message to both the console and the log file.

jsonverse.logError("This is an error message.");

logSuccess(message) Method

The logSuccess(message) method logs an Success message to both the console and the log file.

jsonverse.logSuccess("This is an Success message.");

logInfo(message) Method

The logInfo(message) method logs an Info message to both the console and the log file.

jsonverse.logInfo("This is an info message.");

logWarning(message) Method

The logWarning(message) method logs an Warning message to both the console and the log file.

jsonverse.logWarning("This is an error message.");

Use this method to log and handle errors within your jsonverse application.