Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Add options to avoid writing any files to disk #16

Merged
merged 3 commits into from
Mar 18, 2018

Conversation

codebude
Copy link
Contributor

As discussed in this issue #15 , I set all File.Write stuff (BPD, UPD, MT940) in dependency to the Trace.Enabled state. So sensitive data will only be written to disk, of the user/programmer chooses to do so.

In consequence of this, I added an Enabled-flag in the Log-class, too. So it is possible to avoid writing to disk at all.

The trace/debug enabled check should be done in the Write-methods and
not every time the Write-method is called.
Lib will only write files to disk, if tracing is enabled.
@iamtorsten iamtorsten merged commit 8c312f4 into iamtorsten:master Mar 18, 2018
codebude pushed a commit to codebude/libfintx that referenced this pull request Mar 20, 2018
Add options to avoid writing any files to disk
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants