Skip to content

Commit ad436b5

Browse files
committed
refactor: Rename logger to griffe_pydantic
1 parent 1f33b32 commit ad436b5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/griffe_pydantic/_internal/dynamic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from griffe_pydantic._internal import common
1616

17-
_logger = get_logger(__name__)
17+
_logger = get_logger("griffe_pydantic")
1818

1919

2020
def _process_attribute(obj: Any, attr: Attribute, cls: Class, *, processed: set[str]) -> None:

src/griffe_pydantic/_internal/extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from griffe import ObjectNode
1717

1818

19-
_logger = get_logger(__name__)
19+
_logger = get_logger("griffe_pydantic")
2020

2121

2222
class PydanticExtension(Extension):

src/griffe_pydantic/_internal/static.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from pathlib import Path
2727

2828

29-
_logger = get_logger(__name__)
29+
_logger = get_logger("griffe_pydantic")
3030

3131

3232
def _inherits_pydantic(cls: Class) -> bool:
@@ -133,7 +133,7 @@ def _process_function(func: Function, cls: Class, *, processed: set[str]) -> Non
133133
processed.add(func.canonical_path)
134134

135135
if isinstance(func, Alias):
136-
_logger.debug(f"cannot yet process {func}")
136+
_logger.debug(f"Cannot yet process {func}")
137137
return
138138

139139
if decorator := _pydantic_validator(func):

0 commit comments

Comments
 (0)