aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src/logger.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/src/logger.ts')
-rw-r--r--apps/files_trashbin/src/logger.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/files_trashbin/src/logger.ts b/apps/files_trashbin/src/logger.ts
new file mode 100644
index 00000000000..064351c2fb5
--- /dev/null
+++ b/apps/files_trashbin/src/logger.ts
@@ -0,0 +1,11 @@
+/**
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+import { getLoggerBuilder } from '@nextcloud/logger'
+
+export const logger = getLoggerBuilder()
+ .setApp('files_trashbin')
+ .detectUser()
+ .build()