graphdb-workbench
Version:
The web application for GraphDB APIs
20 lines (19 loc) • 917 B
TypeScript
import { Logger } from '../../../models/logging/logger';
import { LogLevel } from '../../../models/logging/log-level';
/**
* Console-based logger implementation that outputs log messages to the browser console.
*
* This service implements the Logger interface and forwards log messages to the appropriate
* console methods based on the log level. Each log level maps to its corresponding console
* method for consistent output formatting and browser developer tools integration.
*/
export declare class ConsoleLoggerService implements Logger {
/**
* Logs a message to the console based on the specified log level.
*
* @param level - The log level determining which console method to use
* @param message - The message to log to the console
* @param args - Additional arguments to include in the log output
*/
log(level: LogLevel, message: string, args: unknown[]): void;
}