Skip to content

Commit

Permalink
Merge pull request #87 from KOSASIH/deepsource-transform-80334627
Browse files Browse the repository at this point in the history
style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf
  • Loading branch information
KOSASIH authored May 10, 2024
2 parents a338d8d + b3e93d7 commit 3c19710
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions logging/logging.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import logging


class Logging:
def __init__(self):
self.logger = logging.getLogger('banking_network')
self.logger = logging.getLogger("banking_network")
self.logger.setLevel(logging.DEBUG)

def setup_logging(self):
formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')
formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
console_handler = logging.StreamHandler()
console_handler.setLevel(logging.DEBUG)
console_handler.setFormatter(formatter)
Expand Down

0 comments on commit 3c19710

Please sign in to comment.