@athenna/logger
Version:
The Athenna logging solution. Log in stdout, files and buckets.
60 lines (59 loc) • 1.28 kB
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.
*/
/**
* Athenna default vanilla channels. This configuration
* will be used by the "channelOrVanilla" method. If the
* configuration does not exist, then the vanilla will be set.
*/
export declare const VANILLA_CHANNELS: {
default: {
driver: string;
channels: string[];
};
stack: {
driver: string;
channels: string[];
};
discard: {
driver: string;
};
file: {
driver: string;
level: string;
filePath: string;
formatter: string;
formatterConfig: {};
};
console: {
level: string;
formatter: string;
driver: string;
};
lambda: {
level: string;
formatter: string;
driver: string;
};
request: {
level: string;
formatter: string;
driver: string;
};
exception: {
level: string;
formatter: string;
driver: string;
streamType: string;
};
application: {
level: string;
driver: string;
formatter: string;
};
};