@connectedcars/logutil
Version:
Simple log formatting for Node
26 lines (25 loc) • 939 B
TypeScript
import { critical } from './critical';
import { debug } from './debug';
import { error } from './error';
import { info } from './info';
import { clearMetricRegistry, getMetricRegistry, MetricRegistry, MetricType } from './metric';
import { notice } from './notice';
import { statistic } from './statistic';
import { trace } from './trace';
import { warn } from './warn';
export { clearMetricRegistry, critical, debug, error, getMetricRegistry, info, MetricRegistry, notice, statistic, trace, warn };
export type { MetricType };
declare const _default: {
trace: typeof trace;
debug: typeof debug;
statistic: typeof statistic;
notice: typeof notice;
info: typeof info;
warn: typeof warn;
error: typeof error;
critical: typeof critical;
MetricRegistry: typeof MetricRegistry;
getMetricRegistry: typeof getMetricRegistry;
clearMetricRegistry: typeof clearMetricRegistry;
};
export default _default;