You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mutex is used to protect the entry from concurrent access. What are you trying to achieve ? A solution would to perform this log in another goroutine, another would be to use another logger instance. The current implementation does not allow to very easily add a per Entry mutex.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
GoVersion: 1.10
Version: 1.0.7
How do you create a log from the same level in a hook?
The example below seems to create a deadlock.
main.go
hook.go
The text was updated successfully, but these errors were encountered: