Skip to content

logs member name changed to logger when referring to LogCollector inspector#5498

Merged
Evalir merged 3 commits intofoundry-rs:masterfrom
aathan:logs_logger
Aug 2, 2023
Merged

logs member name changed to logger when referring to LogCollector inspector#5498
Evalir merged 3 commits intofoundry-rs:masterfrom
aathan:logs_logger

Conversation

@aathan
Copy link
Contributor

@aathan aathan commented Jul 28, 2023

Motivation

To make the source code clearer, and searching for places where the code is touching the log inspector vs the collected logs, and to make the naming more consistent with its brethren (like "tracer"), I've renamed the struct members in InspectorStack and Inspector from logs to logger.

Solution

Symbol name change.

@aathan aathan changed the title logs to logger when referring to LogCollector inspector logs member name changed to logger when referring to LogCollector inspector Jul 28, 2023
@aathan aathan mentioned this pull request Jul 30, 2023
Copy link
Member

@Evalir Evalir left a comment

Choose a reason for hiding this comment

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

Not opposed to this, wdyt @mattsse ? maybe something like log_collector and just be pretty explicit?

@Evalir Evalir merged commit e05b9c7 into foundry-rs:master Aug 2, 2023
aathan added a commit to aathan/foundry that referenced this pull request Aug 3, 2023
…pector (foundry-rs#5498)

* logs to logger when referring to LogCollector inspector

* missing file

* chore: rename to log collector

---------

Co-authored-by: AA <aa@aa>
Co-authored-by: Enrique Ortiz <hi@enriqueortiz.dev>
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.

2 participants