Skip to content

refactor: Integrate logging package #755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 57 commits into from
Aug 2, 2022
Merged

Conversation

ozayr-zaviar
Copy link
Contributor

@ozayr-zaviar ozayr-zaviar commented Apr 26, 2022

Summary

  • Integrate logging package in optimizely-sdk package.

Test plan

  • All unit tests and Full stack compatibility suite tests pass.

Jira

OASIS-8204

Base automatically changed from uzair/consolidate-packages to master May 23, 2022 22:56
@coveralls
Copy link

coveralls commented May 24, 2022

Coverage Status

Coverage decreased (-0.2%) to 96.864% when pulling 5963ea8 on uzair/consolidate-log into 71fcef4 on master.

Copy link
Contributor

@zashraf1985 zashraf1985 left a comment

Choose a reason for hiding this comment

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

Looks Great! Added a question. Also please double check all the copyright header changes too.

@@ -13,14 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import logHelper from './modules/logging/logger';
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you need to introduce the concept of logHelper here. Why importing directly from ./modules/loggin does not work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Karma browser test was not able to locate the package unless it is defined in the default.

Copy link
Contributor

@zashraf1985 zashraf1985 left a comment

Choose a reason for hiding this comment

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

LGTM! @opti-jnguyen @mikechu-optimizely it will be helpful if you guys can also take a look and provide feedback on this.

@zashraf1985 zashraf1985 marked this pull request as ready for review June 10, 2022 19:16
@zashraf1985 zashraf1985 requested a review from a team as a code owner June 10, 2022 19:16
@opti-jnguyen
Copy link
Contributor

Added a couple comments @ozayr-zaviar - let me know what you think.

cc: @zashraf1985

Copy link
Contributor

@opti-jnguyen opti-jnguyen left a comment

Choose a reason for hiding this comment

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

Minus the small non-blocking notes from my comments, LGETM!

@zashraf1985 zashraf1985 changed the title refact: Integrate logging package refactor: Integrate logging package Aug 2, 2022
@zashraf1985 zashraf1985 merged commit fff21e0 into master Aug 2, 2022
@zashraf1985 zashraf1985 deleted the uzair/consolidate-log branch August 2, 2022 01:21
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