This commit is contained in:
Luiz Silva 2025-02-21 17:58:21 -03:00
parent decb819207
commit 36d3cc6aa4
5 changed files with 25 additions and 8 deletions

5
dist/logger.d.ts vendored
View file

@ -1,15 +1,16 @@
type tipoAmb = {
type tipoOpSessao = {
inquilino: string;
usuario: string;
};
type tipoLog = {
detalhes?: unknown[];
__filename?: string;
local?: string;
};
export declare const logger: ({ app, eProducao }: {
app: string;
eProducao: boolean;
}) => ({ inquilino, usuario }: tipoAmb) => {
}) => ({ inquilino, usuario }: tipoOpSessao) => {
info: (mensagem: string, op_tipoLog?: tipoLog) => Promise<void>;
warn: (mensagem: string, op_tipoLog?: tipoLog) => Promise<void>;
error: (mensagem: string, op_tipoLog?: tipoLog) => Promise<void>;