error
Logs an error message to the console if the logging condition is met.
Import
Usage
Parameters
msg
string
The primary error message to be logged
args
...any[]
Additional arguments to be logged along with the error message
error
Logs an error message to the console if the logging condition is met.
string
The primary error message to be logged
...any[]
Additional arguments to be logged along with the error message