Skip to content

Conversation

vetinari
Copy link
Contributor

allow a *log.Logger to be set in the *LDIF, defaults to
log.New(os.Stderr, "", log.Flags()). This is currently only used in
Apply()

allow a *log.Logger to be set in the *LDIF, defaults to
log.New(os.Stderr, "", log.Flags()). This is currently only used in
Apply()
@DavidGamba
Copy link

@vetinari I have never seen that logger pattern before. I was wondering where you learned it from so I can read more about it for comparison with other methods. Thanks!

@vetinari
Copy link
Contributor Author

@DavidGamba this is just what log uses as default: var std = New(os.Stderr, "", LstdFlags)

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.

2 participants