Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include logfile.flush() but make it a configurable option #18

Open
scott2b opened this issue Mar 17, 2017 · 0 comments
Open

include logfile.flush() but make it a configurable option #18

scott2b opened this issue Mar 17, 2017 · 0 comments

Comments

@scott2b
Copy link
Member

scott2b commented Mar 17, 2017

Flushing data after writing to the logfile will make the logging more robust, however this will cause the Adalogger to draw a log more power, maybe about 3x as much on average (30mA avg rather than about 10mA) thus make this configurable

create a LOGFLUSH configuration with options: TRUE, FALSE (default)

put logfile.flush(); right after logfile.print which flushes only if LOGFLUSH is configured TRUE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant