Comments (2)
Thoughts from Kelley:
I share the question and concern. A couple of thoughts. Newer loggers would probably use the std library, streams, etc Guessing there is a big body of C/C++ projects now using new features yet, but wanting logging. Rather than trying to make one logging library satisfy every one, it might make more sense to divide the audience. No streams. vs streams. etc. Then add a stream version later for other systems. You'll get a lot of useful feedback along the way.
from arduino-logger.
From Kelley:
Consider generalizing the project name for broader C++ use. The library is generic but just happens to support Arduino. (and doesn't use streams)
I think that generalizing the project is another worthwhile approach.
The only downsides with sticking to Arduino-support in the base class are:
- I would pick a different organization scheme than the Arduino environment requires
- I would use policy-based design in a general C++/embedded version
- I'd use C++17 features
Maybe we have both, too. Maybe this is rebranded into a general library, and it's our C++11-only version that just so happens to support Arduino. Our full-octane version could be C++14/17 and up.
from arduino-logger.
Related Issues (20)
- Test with Arduino 1.5 HOT 2
- Expand rotational SD logger support HOT 1
- Improve compile-time Filtering
- Check support for filtering message levels & routing differently HOT 1
- Rotational SD Logger: Add an option for placing a cap on log file size
- Rotational SD Logger: Add option to configure number of log files
- Add support for F() macro HOT 3
- Add Meson Documentation
- Redesign to eliminate macros HOT 1
- Error : 'SdFs' has not been declared HOT 2
- Improve Checks for Flushing and Overrun
- Add doxygen documentation for LoggerBase HOT 1
- Unable to clone project HOT 3
- Create SD file logger strategy example HOT 1
- Timestamp support HOT 1
- Add a TRACE macro
- Rebrand library HOT 1
- Create examples showing TRACE(), FUNC(), and PRETTYFUNC() HOT 1
- Create a log disable strategy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-logger.