Abstract Class AbstractHelper
This is an abstract class that provides basic functionality for helper classes working with data and logging.
Methods
getLogger
ts
getLogger(): LoggerBrowser
Returns the current logger.
setLogger
ts
setLogger(
logger: LoggerBrowser
): void
Sets the logger.
initData
ts
initData(
data: any
): Promise<void>
Asynchronously initializes data.
By default, it throws an error indicating the need to override the method.
Getters
get data(): any
: An abstract property that must be implemented in subclasses to retrieve data.