-
Notifications
You must be signed in to change notification settings - Fork 36
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
Made group logger creation public #1171
Made group logger creation public #1171
Conversation
Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com>
pkg/tools/log/grouplogger.go
Outdated
@@ -23,7 +23,8 @@ type groupLogger struct { | |||
loggers []Logger | |||
} | |||
|
|||
func newGroup(s ...Logger) Logger { | |||
// New creates grouped logger from all provided loggers | |||
func New(s ...Logger) Logger { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
func New(s ...Logger) Logger { | |
func Combine(s ...Logger) Logger { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added one comment, other things look correct.
Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com>
…k@main PR link: networkservicemesh/sdk#1171 Commit: 658a1ca Author: Авраменко Михаил Date: 2021-11-24 14:11:54 +0700 Message: - Made group logger creation public (#1171) * made group logger creation public Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com> * renamed grouping method Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1171 Commit: 658a1ca Author: Авраменко Михаил Date: 2021-11-24 14:11:54 +0700 Message: - Made group logger creation public (#1171) * made group logger creation public Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com> * renamed grouping method Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1171 Commit: 658a1ca Author: Авраменко Михаил Date: 2021-11-24 14:11:54 +0700 Message: - Made group logger creation public (#1171) * made group logger creation public Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com> * renamed grouping method Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1171 Commit: 658a1ca Author: Авраменко Михаил Date: 2021-11-24 14:11:54 +0700 Message: - Made group logger creation public (#1171) * made group logger creation public Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com> * renamed grouping method Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1171 Commit: 658a1ca Author: Авраменко Михаил Date: 2021-11-24 14:11:54 +0700 Message: - Made group logger creation public (#1171) * made group logger creation public Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com> * renamed grouping method Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1171 Commit: 658a1ca Author: Авраменко Михаил Date: 2021-11-24 14:11:54 +0700 Message: - Made group logger creation public (#1171) * made group logger creation public Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com> * renamed grouping method Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1171 Commit: 658a1ca Author: Авраменко Михаил Date: 2021-11-24 14:11:54 +0700 Message: - Made group logger creation public (#1171) * made group logger creation public Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com> * renamed grouping method Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1171 Commit: 658a1ca Author: Авраменко Михаил Date: 2021-11-24 14:11:54 +0700 Message: - Made group logger creation public (#1171) * made group logger creation public Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com> * renamed grouping method Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1171 Commit: 658a1ca Author: Авраменко Михаил Date: 2021-11-24 14:11:54 +0700 Message: - Made group logger creation public (#1171) * made group logger creation public Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com> * renamed grouping method Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Needed for networkservicemesh/cmd-nsmgr#422