Skip to content

Commit

Permalink
Merge pull request #151 from flu-x/develop
Browse files Browse the repository at this point in the history
Remove sentry integration
  • Loading branch information
Corefinder89 authored Jun 17, 2020
2 parents ab92fdb + 003e873 commit c087824
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions flexibox/core/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,24 @@
import logging
from time import sleep

import sentry_sdk
from sentry_sdk.integrations.logging import LoggingIntegration


class Logger(object):
sentry_logging = LoggingIntegration(level=logging.INFO, event_level=logging.ERROR)
sentry_sdk.init(dsn="https://5b823e3b2d184f829b8ec52bfcd40a84@sentry.io/2944174", integrations=[sentry_logging])

@classmethod
def log_info(self, informationMessage):
logging.info(informationMessage)
sleep(2)

@classmethod
def log_error(self, errorMessage):
logging.error(errorMessage)
sleep(2)

@classmethod
def log_debug(self, debugMessage):
logging.debug(debugMessage)
sleep(2)

@classmethod
def log_warning(self, warningMessage):
logging.warning(warningMessage)
sleep(2)

@classmethod
def log_critical(self, criticalMessage):
logging.critical(criticalMessage)
sleep(2)

0 comments on commit c087824

Please sign in to comment.