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

specify options in New #11

Merged
merged 2 commits into from
Jul 7, 2022
Merged

specify options in New #11

merged 2 commits into from
Jul 7, 2022

Conversation

mr-karan
Copy link
Member

@mr-karan mr-karan commented Jul 7, 2022

  • Removes the .Set() method for logger.
  • Specify opts in .New() for initialising logger.
  • Reduce allocs while getting caller frame count.

cc @iamd3vil

- Removes the .Set() method for logger.
- Specify opts in .New() for initialising logger.
@mr-karan mr-karan merged commit bacb284 into main Jul 7, 2022
@mr-karan mr-karan deleted the opts branch July 8, 2022 12:08
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.

1 participant