mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
13 lines
299 B
TypeScript
13 lines
299 B
TypeScript
import type { Logger } from './Logger';
|
|
|
|
/**
|
|
* Instantiates new logger instances.
|
|
*/
|
|
export interface LoggerFactory {
|
|
/**
|
|
* Create a logger instance for the given label.
|
|
* @param label - A label that is used to identify the given logger.
|
|
*/
|
|
createLogger: (label: string) => Logger;
|
|
}
|