-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
- Loading branch information
Showing
5 changed files
with
37 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from __future__ import annotations | ||
|
||
from .constants import PLUGIN_NAME | ||
|
||
|
||
def log_debug(message: str) -> None: | ||
print(f"[{PLUGIN_NAME}][DEBUG] {message}") | ||
|
||
|
||
def log_info(message: str) -> None: | ||
print(f"[{PLUGIN_NAME}][INFO] {message}") | ||
|
||
|
||
def log_warning(message: str) -> None: | ||
print(f"[{PLUGIN_NAME}][WARNING] {message}") | ||
|
||
|
||
def log_error(message: str) -> None: | ||
print(f"[{PLUGIN_NAME}][ERROR] {message}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters