When I say add logs to a function, I mean add logs to the function that are relevant to the function's purpose and it should be in JSON format.
Example:
this.loggerService.error(
JSON.stringify({
message: 'signUp: User created successfully',
data: { email },
}),
);javascript
pug
shell
typescript
First Time Repository
TypeScript
Languages:
JavaScript: 0.6KB
Pug: 8.1KB
Shell: 0.8KB
TypeScript: 273.7KB
Created: 11/12/2024
Updated: 1/20/2025