Skip to content

Commit

Permalink
remove legacy logger
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinRovang committed Aug 28, 2024
1 parent 1eafed2 commit a5858ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 6 additions & 4 deletions FullGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -1126,10 +1126,11 @@ import time
import mrsal.config.config as config
import pika
import tests.config as test_config
from mrsal.config.logging import get_logger
from loguru import logger as log

from mrsal.mrsal import Mrsal

log = get_logger(__name__)


mrsal = Mrsal(host=test_config.HOST,
port=config.RABBITMQ_PORT,
Expand Down Expand Up @@ -1257,10 +1258,11 @@ import time
import mrsal.config.config as config
import pika
import tests.config as test_config
from mrsal.config.logging import get_logger
from logurur import logger as log

from mrsal.mrsal import Mrsal

log = get_logger(__name__)


mrsal = Mrsal(host=test_config.HOST,
port=config.RABBITMQ_PORT,
Expand Down
2 changes: 0 additions & 2 deletions tests/test_concurrent/test_publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@

import pika
from pika.exchange_type import ExchangeType
from loguru import logger as log

import mrsal.config.config as config
import tests.config as test_config

from mrsal.mrsal import Mrsal

log = get_logger(__name__)

mrsal = Mrsal(host=test_config.HOST, port=config.RABBITMQ_PORT, credentials=config.RABBITMQ_CREDENTIALS, virtual_host=config.V_HOST)
mrsal.connect_to_server()
Expand Down

0 comments on commit a5858ea

Please sign in to comment.