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 rest of the issue template questions aren't that relevant.
The source code shows that nested MultiReaders flatten. Can we have the same for MultiWriters?
My use case is, without going into too much detail, sporadically adding io.Writers to a log.Logger. I have created an extendable Writer that can add new Writers, but it works by nesting MultiWriters. I don't anticipate having a ton of layers, but I think strategic flattening would save some computational overhead.
The text was updated successfully, but these errors were encountered:
gbbr
changed the title
Feature request: flatten nested io.MultiWriters.
proposal: flatten nested io.MultiWriters.
Oct 25, 2017
What version of Go are you using (
go version
)?1.9.1
The rest of the issue template questions aren't that relevant.
The source code shows that nested MultiReaders flatten. Can we have the same for MultiWriters?
My use case is, without going into too much detail, sporadically adding io.Writers to a log.Logger. I have created an extendable Writer that can add new Writers, but it works by nesting MultiWriters. I don't anticipate having a ton of layers, but I think strategic flattening would save some computational overhead.
The text was updated successfully, but these errors were encountered: