Closed chrisnovakovic closed 1 year ago
Thanks for this contribution, we plan to incorporate part of this in a future release
Silent logger incorporated in https://github.com/aws/amazon-ssm-agent/commit/d12c446111ec0e3658fc42a1cddb620a1bbc1555 to move testify dependency out of non-test code
Issue #, if available:
475
Description of changes:
Many packages rely on
agent/log
'sNewSilentMockLog
in situations where a logger is required for a function call but any messages sent to it can be discarded. This introduces a dependency on the testify test toolkit in non-test code. Replace these calls toNewSilentMockLog
with requests for a new real seelog logger that simply discards any messages sent to it.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.