mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge pull request #1449 from ynput/enhancement/use-ayon-logger-in-load-plugins
Load: Use Logger in loader plugin
This commit is contained in:
commit
20db38affb
1 changed files with 2 additions and 3 deletions
|
|
@ -2,10 +2,10 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from abc import abstractmethod
|
||||
import logging
|
||||
import os
|
||||
from typing import Any, Optional, Type
|
||||
|
||||
from ayon_core.lib import Logger
|
||||
from ayon_core.pipeline.plugin_discover import (
|
||||
deregister_plugin,
|
||||
deregister_plugin_path,
|
||||
|
|
@ -31,8 +31,7 @@ class LoaderPlugin(list):
|
|||
|
||||
options = []
|
||||
|
||||
log = logging.getLogger("ProductLoader")
|
||||
log.propagate = True
|
||||
log = Logger.get_logger("ProductLoader")
|
||||
|
||||
@classmethod
|
||||
def apply_settings(cls, project_settings):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue