src/core/services/logger/smart-logger.service.ts
Service for centralized logging throughout the Smart Component Library. Supports configurable log levels and prefixes all log messages.
Methods |
constructor()
|
| debug | ||||||||||||
debug(message: string, ...args: any[])
|
||||||||||||
|
Log a debug message.
Parameters :
Returns :
void
|
| error | ||||||||||||
error(message: string, ...args: any[])
|
||||||||||||
|
Log an error message.
Parameters :
Returns :
void
|
| info | ||||||||||||
info(message: string, ...args: any[])
|
||||||||||||
|
Log an info message.
Parameters :
Returns :
void
|
| log | ||||||||||||||||
log(logLevel: SmartLogLevel, message: string, ...args: any[])
|
||||||||||||||||
|
Generic log method that outputs messages based on the configured log level.
Parameters :
Returns :
void
|
| warning | ||||||||||||
warning(message: string, ...args: any[])
|
||||||||||||
|
Log a warning message.
Parameters :
Returns :
void
|