Output golang cmdline tools to stdout and file using tee
Some golang-based tools I’ve used (or even written) use the builtin log
package that output logs to stderr by default. I also use tee for piping console outputs to file for later viewing. This is the command I generally use:
If you have any questions or feedback, please reach out @flowerinthenyt.