mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -04:00
Add missing logging context at various places
Our custom logger supports providing the name of the function that calls the logger, this commit adds this context string where it was previously missing. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
763f67d5fb
commit
8b62b7d93c
3 changed files with 11 additions and 7 deletions
|
@ -144,7 +144,7 @@ export class NotesService {
|
|||
noteIdOrAlias: string,
|
||||
newPermissions: NotePermissionsUpdateDto,
|
||||
): Note {
|
||||
this.logger.warn('Using hardcoded data!');
|
||||
this.logger.warn('Using hardcoded data!', 'updateNotePermissions');
|
||||
return {
|
||||
id: 'foobar-barfoo',
|
||||
alias: null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue