This repository was archived by the owner on Mar 19, 2024. It is now read-only.
3.31.0
·
17 commits
to master
since this release
- Added:
- Allow custom obfuscation rules to be specified through classes
BodyObfuscator
andHeaderObfuscator
. These can be set on instances ofClient
,Communicator
orDefaultConnection
. Custom rules should be defined as functions that take the value to obfuscate, and return the obfuscated value. - The constructors of class
LogMessage
and its sub classes now take an optionalBodyObfuscator
andHeaderObfuscator
. - Added new module
ingenico.connect.sdk.log.obfuscation_rule
with functionsobfuscate_all
,obfuscate_with_fixed_length
,obfuscate_all_but_first
andobfuscate_all_but_last
that provide some pre-defined obfuscation rules.
- Allow custom obfuscation rules to be specified through classes
- Deprecated:
- Deprecated the functions of class
LoggingUtil
in favor ofBodyObfuscator
andHeaderObfuscator
instances.
- Deprecated the functions of class