boulder/log
Matthew McPherrin 3502e4a971
Use a common Command() function (#6833)
This moves command() from cmd/ into core.Command() and uses it from the
log and main package, ensuring we have a single implementation of
path.Base(os.Args[0]) instead of scattering that method around. I put it
in core/util.go as similar enough functions like the BuildID and
revision info already live there, though I am not entirely sure it's the
right place.

This came up in @aarongable's review of #6750, where he pointed out I
was manually hardcoding commands instead of using command() or similar.
2023-04-21 16:54:32 -04:00
..
log.go Use a common Command() function (#6833) 2023-04-21 16:54:32 -04:00
log_test.go Make caa-log-checker run over docker logs (#6388) 2022-09-26 14:59:15 -07:00
mock.go Conditionally call Sprintf in log package (#6721) 2023-03-08 16:06:07 -05:00