Skip to content

feat(Log): add logging in Entity class#118

Merged
ripel2 merged 13 commits into
mainfrom
106-log-components-assignation-update-and-destroy-and-entities-creation-and-destruction
Mar 19, 2025
Merged

feat(Log): add logging in Entity class#118
ripel2 merged 13 commits into
mainfrom
106-log-components-assignation-update-and-destroy-and-entities-creation-and-destruction

Conversation

@Miou-zora
Copy link
Copy Markdown
Contributor

Related to:

@Miou-zora Miou-zora added the enhancement New feature or request label Mar 14, 2025
@Miou-zora Miou-zora requested a review from a team March 14, 2025 08:35
@Miou-zora Miou-zora self-assigned this Mar 14, 2025
Copy link
Copy Markdown
Contributor

@ripel2 ripel2 left a comment

Choose a reason for hiding this comment

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

just change the name of the define please

Comment thread src/engine/src/core/Core.cpp Outdated

ES::Engine::Core::Core() : _registry(nullptr)
{
#ifdef DEBUG
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"DEBUG" is a bit vague and could be used by other libraries and/or by some of our users

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done but later we should think about having a easier and better logging: when we want to log only entities or plugins or systems.

@Miou-zora Miou-zora requested a review from ripel2 March 17, 2025 10:26
Miou-zora and others added 2 commits March 19, 2025 10:56
@ripel2 ripel2 enabled auto-merge (squash) March 19, 2025 07:51
@sonarqubecloud
Copy link
Copy Markdown

@ripel2 ripel2 merged commit d896704 into main Mar 19, 2025
@ripel2 ripel2 deleted the 106-log-components-assignation-update-and-destroy-and-entities-creation-and-destruction branch March 19, 2025 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Log components assignation, update and destroy and entities creation and destruction

2 participants