Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SettingsDebug.py #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lackey/SettingsDebug.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class DebugMaster(object):
def user(self, message):
""" Creates a user log (if user logging is turned on)

Uses the log path defined by ``Debug.setUserLogFile()``. If no log file is
Uses the log path defined by ``Debug.setLogFile()``. If no log file is
defined, sends to STDOUT

Note: Does *not* use Java string formatting like Sikuli.
Expand All @@ -34,23 +34,23 @@ def user(self, message):
def history(self, message):
""" Records an Action-level log message

Uses the log path defined by ``Debug.setUserLogFile()``. If no log file is
Uses the log path defined by ``Debug.setLogFile()``. If no log file is
defined, sends to STDOUT
"""
if Settings.ActionLogs:
self._write_log("action", Settings.LogTime, message)
def error(self, message):
""" Records an Error-level log message

Uses the log path defined by ``Debug.setUserLogFile()``. If no log file is
Uses the log path defined by ``Debug.setLogFile()``. If no log file is
defined, sends to STDOUT
"""
if Settings.ErrorLogs:
self._write_log("error", Settings.LogTime, message)
def info(self, message):
""" Records an Info-level log message

Uses the log path defined by ``Debug.setUserLogFile()``. If no log file is
Uses the log path defined by ``Debug.setLogFile()``. If no log file is
defined, sends to STDOUT
"""
if Settings.InfoLogs:
Expand Down