Skip to content

[FW-126] Use Logger #478

Merged
g0nz4I0 merged 11 commits intodevelopmentfrom
FW-126
Jan 19, 2025
Merged

[FW-126] Use Logger #478
g0nz4I0 merged 11 commits intodevelopmentfrom
FW-126

Conversation

@jorgesg82
Copy link
Contributor

It has been modified some mocks to use the new Logger instead of using ErrorHandler/cout. Also the linter has been applied on some sources.

@jorgesg82 jorgesg82 requested a review from oganigl December 26, 2024 19:28
@jorgesg82 jorgesg82 self-assigned this Dec 26, 2024
Copy link
Member

@jmaralo jmaralo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linter go brrrr

GATEWAY_ADDRESS[2] = (gw >> 16) & 0xFF;
GATEWAY_ADDRESS[3] = (gw >> 24) & 0xFF;
is_running = true;
LOG_INFO("Ethernet started succesfully");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this Log_INFo

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont understand this comment

#include "HALALMock/Services/Logger/Logger.hpp"

#define BUFFER_SIZE 1024
unordered_map<EthernetNode, Socket*> Socket::connecting_sockets = {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tiene dos veces unordered_map

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, @jorgesg82 fix this one

Co-authored-by: Óscar Gandía Iglesias <145703854+oganigl@users.noreply.github.com>
@g0nz4I0 g0nz4I0 merged commit 477452f into development Jan 19, 2025
2 checks passed
@g0nz4I0 g0nz4I0 deleted the FW-126 branch January 19, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants