Stop spinner with failure message
Optionalmessage: stringLogs an error message to the console and to the log file if configured
Helper function to log a message with a specified severity and whether it is an error
The message to log
The severity of the message
Whether to treat this message as an error
Any additional arguments to log
Logs a status message to the console and to the log file if configured
ProtectedlogProtectedlogStart a spinner with a message (non-verbose mode only)
Stop spinner without status
Stop spinner with success message
Optionalmessage: stringUpdate spinner text (non-verbose mode only). Resets the live elapsed timer so the displayed duration tracks the new sub-step rather than the prior one.
Stop spinner with warning message
Optionalmessage: string
Base class for logging, you can sub-class this class to create your own logger and override the logError and logStatus methods if desired. The default behavior in the base class is to use the LogError/LogStatus functions from the @memberjunction/core package to log to the console and to a log file if configured in the config.json file.
Supports two modes: