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

update docs, add logger #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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