.
This commit is contained in:
parent
92ffd22f79
commit
658a8abaeb
8 changed files with 96 additions and 100 deletions
10
src/teste.ts
10
src/teste.ts
|
|
@ -1,3 +1,11 @@
|
|||
import { logger } from "./logger"
|
||||
|
||||
logger.error("Esse é um erro", { app: "teste", eProducao: true })
|
||||
const { error, info } = logger({
|
||||
inquilino: "conta_1",
|
||||
app: "teste",
|
||||
eProducao: true,
|
||||
usuario: "pedrinho",
|
||||
})
|
||||
|
||||
error("Deu Ruim")
|
||||
info("Deu Bom", { __filename })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue