Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use file.opt instead of opt when setting logger creating a file …
…instance. (#97) * fix: use file.opt instead of opt when setting logger. If pe.New function is called with nil as opts parameter, panic occurs due to comparing opts.logger(which opt is nil), so use file.opts instead. * fix: use file.opts.logger for NewBytes function
- Loading branch information