Skip to content

Commit

Permalink
chore: Use single logger
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed Jul 12, 2024
1 parent c46bab6 commit e72ee8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/components/TransferGuestDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'
import { logger } from '../logger.ts'
import { logger } from '../services/logger.ts'
const generateMessage = ({ source, target, status }: { source: string, target: string, status: 'waiting' | 'started' }) => {
const matchStatus = {
Expand Down
11 changes: 0 additions & 11 deletions src/logger.ts

This file was deleted.

5 changes: 5 additions & 0 deletions src/services/logger.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* 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()
Expand Down

0 comments on commit e72ee8d

Please sign in to comment.