Skip to content
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

[zapcore] can zapcore.Core expose its ioCore config by adding some methods ? #1226

Open
StellarisW opened this issue Feb 3, 2023 · 2 comments

Comments

@StellarisW
Copy link

Is your feature request related to a problem? Please describe.

can zapcore.Core expose its ioCore config by adding some methods ?
so that third party component can manipulate zapcore.Core

@alxn
Copy link
Member

alxn commented Feb 3, 2023

What's the problem you are trying to solve vs the proposed solution?

@StellarisW
Copy link
Author

StellarisW commented Feb 3, 2023

What's the problem you are trying to solve vs the proposed solution?

I want to manipulate the fields inside ioCore since i can't get the original params of NewCore or NewTee,
by adding a method (return LevelEnabler, Encoder and WriteSyncer) of Core interface will solve such problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants