Skip to content

fix: Logger with default messages #51

@IvanildoBarauna

Description

@IvanildoBarauna

poetry run python api_to_dataframe/main.py
2024-07-08 17:31:30 -03 :: INFO :: This is an info message
2024-07-08 17:31:30 -03 :: WARNING :: This is a warning message
2024-07-08 17:31:30 -03 :: ERROR :: This is an error message
2024-07-08 17:31:30 -03 :: INFO :: Trying for the 1 of 3 retries. Using Strategies.LINEAR_RETRY_STRATEGY
2024-07-08 17:31:30 -03 :: DEBUG :: Starting new HTTPS connection (1): brasilapi.com.br:443
2024-07-08 17:31:31 -03 :: DEBUG :: https://brasilapi.com.br:443 "GET /api/banks/v1 HTTP/11" 200 None
2024-07-08 17:31:31 -03 :: INFO :: get_response: ok
2024-07-08 17:31:31 -03 :: INFO :: serialized to dataframe: OK

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions