1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Chore: Move Logger from lib to utils package

This commit is contained in:
Laurent Cozic
2023-07-27 16:05:56 +01:00
parent a0ec928fca
commit 16c87c36da
124 changed files with 154 additions and 137 deletions

View File

@@ -1,5 +1,5 @@
import Resource from '@joplin/lib/models/Resource';
import Logger from '@joplin/lib/Logger';
import Logger from '@joplin/utils/Logger';
const logger = Logger.create('contextMenuUtils');
export enum ContextMenuItemType {
None = '',

View File

@@ -7,7 +7,7 @@ const bridge = require('@electron/remote').require('./bridge').default;
import ResourceFetcher from '@joplin/lib/services/ResourceFetcher';
import htmlUtils from '@joplin/lib/htmlUtils';
import rendererHtmlUtils from '@joplin/renderer/htmlUtils';
import Logger from '@joplin/lib/Logger';
import Logger from '@joplin/utils/Logger';
const { fileUriToPath } = require('@joplin/lib/urlUtils');
const joplinRendererUtils = require('@joplin/renderer').utils;
const { clipboard } = require('electron');

View File

@@ -1,5 +1,5 @@
import { useState, useCallback, MutableRefObject, useEffect } from 'react';
import Logger from '@joplin/lib/Logger';
import Logger from '@joplin/utils/Logger';
import { SearchMarkers } from './useSearchMarkers';
const CommandService = require('@joplin/lib/services/CommandService').default;