@athenna/logger
Version:
The Athenna logging solution. Log in stdout, files and buckets.
30 lines (29 loc) • 793 B
TypeScript
/**
* @athenna/logger
*
* (c) João Lenon <lenon@athenna.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import { Formatter } from '#src/formatters/Formatter';
export declare class FormatterFactory {
/**
* Formatters of FormatterFactory.
*/
static formatters: Map<string, {
Formatter: any;
}>;
/**
* Return an array with all available formatters.
*/
static availableFormatters(): string[];
/**
* Fabricate a new instance of a formatter.
*/
static fabricate(formatterName: string): Formatter;
/**
* Creates a new formatter implementation.
*/
static createFormatter(name: string, formatter: typeof Formatter): void;
}