Skip to content

Commit

Permalink
activate logging
Browse files Browse the repository at this point in the history
  • Loading branch information
koalo committed Jan 4, 2020
1 parent caa1dc0 commit 83fca85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyduofern/duofern.py
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,8 @@ def set(self, code, cmd, *args, channel: int = None):

# return SetExtensions(hash, list, @b)

if __name__ == "__main__":
#if __name__ == "__main__":
if True:
formatter = logging.Formatter('%(asctime)s - %(filename)s:%(lineno)d - %(levelname)s - %(message)s')
handler = logging.StreamHandler()
handler.setFormatter(formatter)
Expand Down

0 comments on commit 83fca85

Please sign in to comment.