Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #550 from guillermooo-forks/refactor-logging
Refactor logging
- Loading branch information
Showing
8 changed files
with
25 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
from Dart.sublime_plugin_lib import PluginLogger | ||
|
||
from Dart.lib.editor_context import EditorContext | ||
|
||
import logging | ||
|
||
|
||
_logger = PluginLogger(__name__) | ||
_logger.warn_aboug_logging_level() | ||
|
||
|
||
editor_context = EditorContext() | ||
# !! WARNING !! | ||
# Don't put any code here, because Sublime Text will load this file twice and | ||
# it may cause unexpected behavior. Use _init_.py instead. |
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,12 @@ | ||
from Dart.sublime_plugin_lib import PluginLogger | ||
|
||
from Dart.lib.editor_context import EditorContext | ||
|
||
import logging | ||
|
||
|
||
_logger = PluginLogger('Dart') | ||
_logger.warn_aboug_logging_level() | ||
|
||
|
||
editor_context = EditorContext() |
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
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