Created
October 2, 2019 13:53
-
-
Save zarinfam/bfbff0152a01be5297ff66f5487c9ae5 to your computer and use it in GitHub Desktop.
Created with Copy to Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static <T extends LogReader & LogStreamer> void streamLog(T logSystem){ | |
logSystem.read().forEach(logSystem::stream); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment