Commit Graph

2 Commits

Author SHA1 Message Date
Yuan
3df68f1b69 chore: set out and err io.Writer during initialization (#112)
Logger might be created pre- or post- flag. The logger defined pre- and
post- flag should be using the same out and err writer.

This will ensure that the server uses the same out and err writer
defined with the `WithStreams` options.
2024-12-05 16:14:43 -08:00
Yuan
5c690c5c30 feat: add options for command (#110)
Add Option to configure a Command.

Currently we are only supporting `WithLogger` Option.
2024-12-05 09:02:47 -08:00