advanced-logger
Version:
Advanced logger module extendable with plugins. Works in nodejs and browsers
10 lines (9 loc) • 364 B
TypeScript
import IDefaultLogConfig from "../interface/config/IDefaultLogConfig";
declare const _default: {
getLogIdByFields<T extends IDefaultLogConfig>(log: T, fields: string[]): string;
/**
* It is necessary to convert objects safely, otherwise we can lost the whole log bundle
*/
tryJSONStringify<T_1>(obj: T_1): string;
};
export default _default;