Remove unused `debug` and `debug_mode` functions
Fixes
We generally use `logging` in SL4.
All open source linter plugins (listed by Package Control) have been
converted at this time, so we hard deprecate without further notice.
from collections import defaultdict
import threading
-from .util import printf
from .settings import Settings
@@ -51,16 +50,3 @@ affected_filenames_per_filename = defaultdict(
active_procs = defaultdict(list) # type: DefaultDict[Bid, List[subprocess.Popen]]
active_procs_lock = threading.Lock()
-
-
-def debug_mode():
- # type: () -> bool
- """Return whether the "debug" setting is True."""
- return settings.get('debug', False)
-
-
-def debug(*args):
- # type: (...) -> None
- """Print args to the console if the "debug" setting is True."""
- if debug_mode():
- printf(*args)
