Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
119b82a
First Commit of library
thijse Feb 22, 2017
c3c0180
Update README.md
thijse Feb 22, 2017
7a53c09
Update README.md
thijse Feb 22, 2017
1c765eb
Update README.md
thijse Feb 23, 2017
9e732b3
Update README.md
thijse Feb 23, 2017
b16741f
Create LICENSE.ml
thijse Feb 23, 2017
ecc6b0c
Rename LICENSE.ml to LICENSE.md
thijse Feb 23, 2017
5676a54
Update README.md
thijse Feb 23, 2017
9002a16
Update README.md
thijse Feb 23, 2017
02b1ca5
Update README.md
thijse Feb 23, 2017
c0b9720
Update README.md
thijse Feb 23, 2017
c42ce79
Update README.md
thijse Feb 23, 2017
d293737
Update README.md
thijse Feb 23, 2017
a8e6847
Update library.properties
thijse Feb 23, 2017
ce038f8
Update library.json
thijse Feb 23, 2017
3365e3e
Update README.md
thijse Feb 23, 2017
38a99c2
Added Trace loglevel
thijse Feb 23, 2017
4a5205b
Update keywords.txt
thijse Feb 23, 2017
c381379
Update README.md
thijse Feb 23, 2017
ae87cf5
Updated sketch to show Trace
thijse Feb 23, 2017
36d6dc2
Create .travis.yml
thijse Feb 23, 2017
d4171cd
Update .travis.yml
thijse Feb 23, 2017
03f309a
Update README.md
thijse Feb 23, 2017
508eb99
Update README.md
thijse Feb 23, 2017
1474840
Update .travis.yml
thijse Feb 23, 2017
6867fd2
Update .travis.yml
thijse Feb 23, 2017
ad076bb
Update .travis.yml
thijse Feb 24, 2017
3f76bf2
Fixed typo .travis.yml
thijse Feb 24, 2017
7725c8b
Update .travis.yml
thijse Feb 24, 2017
4d99a0f
Update .travis.yml
thijse Feb 24, 2017
8e0e70e
Update .travis.yml
thijse Feb 24, 2017
ba22000
Remove warnings raised by example
thijse Feb 24, 2017
407c0cc
Merge branch 'master' of https://github.com/thijse/Arduino-logging-li…
thijse Feb 24, 2017
c631d52
Update .travis.yml
thijse Feb 24, 2017
b9a6aec
Update .travis.yml
thijse Feb 24, 2017
974e582
Update .travis.yml
thijse Feb 24, 2017
f90ffc1
Update .travis.yml
thijse Feb 24, 2017
a22c8df
Update .travis.yml
thijse Feb 24, 2017
6d87382
Update .travis.yml
thijse Feb 24, 2017
9bd6f4e
Update .travis.yml
thijse Feb 24, 2017
5a8740a
Update .travis.yml
thijse Feb 24, 2017
63a149f
Update .travis.yml
thijse Feb 24, 2017
125374c
Update README.md
thijse Mar 7, 2017
33d3f35
Remove incorrect exclude
joscha Mar 12, 2017
7a69284
Remove trailing comma
joscha Mar 12, 2017
f1512a3
Merge pull request #1 from joscha/patch-1
thijse Mar 12, 2017
240eb5c
Update library.json
thijse Mar 12, 2017
123caa7
Update library.properties
thijse Mar 12, 2017
f2d344c
Update library.json
thijse Mar 12, 2017
503e93f
Update library.json
thijse Mar 12, 2017
b2a61cf
Update library.json
thijse Mar 12, 2017
c7df089
Update library.json
thijse Mar 12, 2017
31d5d07
Update library.json
thijse Mar 12, 2017
cbb82d8
Update library.json
thijse Mar 12, 2017
2b8ea52
feat: allow double and float
joscha Mar 19, 2017
501c41e
Merge pull request #2 from joscha/log-double
thijse Sep 26, 2017
58a3e8f
bump version for changes from #2
joscha Sep 27, 2017
f532fd8
Merge pull request #3 from thijse/joscha/bump-version
joscha Sep 27, 2017
a3b8b10
Update README.md
joscha Sep 27, 2017
385feab
print chars as the actual character instead of their int counterpart
joscha Sep 27, 2017
1fb0b46
Update README.md
thijse Sep 27, 2017
15cb730
Merge pull request #4 from thijse/joscha/chars
joscha Sep 27, 2017
3403b86
Update README.md
thijse Sep 28, 2017
5a6fcff
Update LOG_LEVEL_X comments
mfalkvidd Oct 26, 2017
b331a20
Merge pull request #5 from mfalkvidd/keywords-fix
joscha Oct 26, 2017
2d05117
Remove trailing whitespace in example
mfalkvidd Oct 26, 2017
35c2f45
Merge pull request #6 from mfalkvidd/whitespace-fix
joscha Oct 26, 2017
fbf08a9
Add prefix and suffix possibility
mfalkvidd Nov 3, 2017
2d0ed87
Merge pull request #7 from mfalkvidd/prefixFunction
joscha Nov 8, 2017
cbb1dad
Remove invalid reference link from keywords.txt
per1234 Sep 9, 2018
6a90120
Merge pull request #8 from per1234/invalid-reference_link-2
joscha Sep 9, 2018
82da326
Added a S format specifier for flash stored string
blemasle Nov 20, 2018
bdcea45
Updated README and example with S format specifier
blemasle Nov 21, 2018
043b8ed
Merge pull request #10 from blemasle/master
joscha Nov 22, 2018
7f8a5bf
Update library.json
joscha Nov 22, 2018
5150c20
Update library.properties
joscha Nov 22, 2018
649ae0f
Updated header to 1.0.3
thijse Dec 23, 2018
16aceb2
Updated header to 1.0.3
thijse Dec 23, 2018
ac20467
Updated license to 1.0.3
thijse Dec 23, 2018
7e3d1b3
Added code submitters to license
thijse Dec 23, 2018
b93ae0f
Added contributors, updated license year
thijse Dec 23, 2018
fa3928c
Updated contributor names
thijse Dec 23, 2018
f843753
Fixed inconsistent styling
rowanG077 Feb 20, 2019
e77d51c
Implemented getters and setters for log level and show level
rowanG077 Feb 20, 2019
49934a5
Merge pull request #11 from rowanG077/master
thijse May 8, 2019
c5bc8d9
Update README.md
thijse Oct 19, 2019
2cdacbb
Update README.md
thijse Oct 19, 2019
ae5358c
Update README.md
thijse Oct 19, 2019
6843026
Update README.md
thijse Oct 19, 2019
39b0916
add unsigned long format capability
1technophile Feb 9, 2020
a97f3eb
add key for unsigned long values in help (%u)
1technophile Feb 9, 2020
8c9ac98
Merge pull request #14 from 1technophile/patch-1
thijse May 17, 2020
d05e81f
Updated to version 1.0.4
thijse May 17, 2021
f8c352c
Updated prefix & suffix example
thijse May 17, 2021
c0f9ec3
Added clearSuffix & clearPrefix
thijse May 17, 2021
2d9fdbe
Copy the va_list to a temporary variable to work around a problem whe…
wrong-kendall Jan 10, 2021
0dd1d1c
Added ArduinoLog logo
thijse May 22, 2021
057c990
Added logo to README.md
thijse May 22, 2021
c72d956
Merge pull request #16 from wrong-kendall/master
thijse May 22, 2021
431792a
Update README.md
thijse May 22, 2021
1e661cd
Update README.md
thijse May 22, 2021
47e03c2
- Added cmake, Intellibrains, PlatformIO folders to ignore file
thijse May 22, 2021
6b4e360
Added additional formatting parameters
thijse May 22, 2021
6eba955
Update README.md
thijse May 23, 2021
c2df66a
Added ability to log Printable objects
thijse May 23, 2021
4ef01f7
Update README.md
thijse May 23, 2021
31fae57
Updated README.md
thijse May 23, 2021
28db401
Fix printable object
thijse May 23, 2021
92aa6be
Updated manual
thijse May 23, 2021
9a0fd06
spacing
thijse May 23, 2021
ff0edc9
Slightly breaking change - suffix & Prefix now pass log level
thijse May 23, 2021
dd2a103
Updated advanced example README.md
thijse May 23, 2021
043a172
Upgraded to version 1.1.1, because of minor interface change
thijse May 24, 2021
ef41df4
Update README.md
thijse May 24, 2021
538ea97
- Added both examples to Travis test setup
thijse May 24, 2021
b0f7f27
Merge branch 'master' of https://github.com/thijse/Arduino-Log
thijse May 24, 2021
aa0831a
Updated Travis build instructions for new examples
thijse May 24, 2021
c88403e
Update documentation in ArduinoLog.h
thijse May 24, 2021
158fd61
Added NL & LF characters
thijse May 24, 2021
fb8686d
Merge of @wrong-kendall "Create a PlatformIO example and unit test" &…
thijse May 27, 2021
80c86ba
fix typo
thijstriemstra Jun 16, 2021
0cb8426
Merge pull request #20 from thijstriemstra/patch-1
joscha Jun 16, 2021
7f8aa99
Private _logOutput conditional compilation when DISABLE_LOGGING
katutxakurra Jul 13, 2021
1079756
Merge pull request #21 from katutxakurra/master
joscha Aug 21, 2022
1e68cd9
Fix: clearSuffix was clearing the prefix
arjenhiemstra Feb 16, 2023
3f4fcf5
Merge pull request #29 from arjenhiemstra/master
joscha Feb 16, 2023
37c675c
Added an option to not automatically instantiate a Log object.
jonasbjurel Aug 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added NL & LF characters
  • Loading branch information
thijse committed May 24, 2021
commit 158fd6157004cc139157f64ce83e179555e77008
2 changes: 2 additions & 0 deletions ArduinoLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ typedef void (*printfunction)(Print*, int);
#define LOG_LEVEL_VERBOSE 6

#define CR "\n"
#define LF "\r"
#define NL "\n\r"
#define LOGGING_VERSION 1_0_4

/**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ where the format string can be used to format the log variables
* %p display a printable object
```

Newlines can be added using the CR keyword or by using the `...ln` version of each of the log functions. The difference when using the `...ln` is that the newline is placed after suffix, and only a single newline can be added.
Newlines can be added using the `CR` keyword or by using the `...ln` version of each of the log functions. The difference when using the `...ln` is that the newline is placed after suffix, and only a single newline can be added. Some terminals prefer `NL` (New line).

### Examples

Expand Down