Package org.rapidcontext.core.js
Class ConsoleObject
java.lang.Object
org.rapidcontext.core.js.ConsoleObject
A JavaScript console object. This class provides a subset of the standard
JavaScript console object for logging.
- Version:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionConsoleObject
(String prefix) Creates a new console object with a specific prefix. -
Method Summary
-
Constructor Details
-
ConsoleObject
Creates a new console object with a specific prefix.- Parameters:
prefix
- the logging prefix text
-
-
Method Details
-
error
Logs an error message.- Parameters:
args
- the log message arguments
-
warn
Logs a warning message.- Parameters:
args
- the log message arguments
-
info
Logs an info message.- Parameters:
args
- the log message arguments
-
log
Logs a debug message.- Parameters:
args
- the log message arguments
-