James Fish
8685853c91
Add maps formatting
Note that compiling on OTP 17.0, or later, will produce beam files
(specifically lager_trunc_io) that are incompatible with R16B03-1, or
earlier, due to erlang:is_map/1 using a new beam opcode (156). However
if compiled on R16B03-1, or earlier, will produce beams files that are
compatible with 17.0, and later, and maps will be formatted where
supported by the active OTP release.
hace 10 años
James Fish
d051396112
Fix ct backend dialyzer warnings
* Fix unmatched return
* Fix set_loglevel call to store mask in state
* Add common_test to plt for ct:pal spec
hace 10 años
James Fish
2ce67d5d53
Fix line numbers detection in tests for OTP >= 17
hace 10 años
Mattias Jansson
f433da014b
Mention the color atom for the formatter config
hace 10 años
Derek Brown
9ec3499e9b
Fix specification of backend config in log rotation example
The example in "Internal log rotation" includes the tuple
{name, "error.log"}
This apparently should be
{file, "error.log"}
as seen in other config examples in README.md.
hace 10 años
Jared Morrow
dd267603e9
Merge pull request #224 from joedevivo/master
lager_common_test_backend
hace 10 años
Joe DeVivo
d29d6c7062
cleaned up lager_common_test_backend:bounce for log level
hace 10 años
Joe DeVivo
28239b887e
Removed 1.X support
hace 10 años
Joe DeVivo
d7f60e2c72
@doc for lager_common_test_backend
hace 10 años
Joe DeVivo
1b8acdb05b
lager_backend for use with common_test
hace 10 años
Andrew Thompson
4d8291edb7
Merge pull request #216 from fogfish/master
fix issue #215 : lager.app env overwrites default handlers
hace 11 años
Dmitry Kolesnikov
b3f3f68976
fix issue #215 : lager.app env overwrites default handlers
the default handlers defined at lager.app overwrites handlers defined previously by application:set_env(lager, handlers, ...) if lager application is started application:start(lager)
hace 11 años
Andrew Thompson
63c2ad6ba3
Merge pull request #210 from egobrain/patch-1
Fixed typo in README.md
hace 11 años
egobrain
5e38f33b9f
Fixed typo in README.md
Fixed forgotten commas.
hace 11 años
Andrew Thompson
1613842357
Fix eunit test
hace 11 años
Andrew Thompson
36466ef78c
Merge pull request #166 from srstrong/master
Added options parameter to lager:trace_file
hace 11 años
Andrew Thompson
73f0806a0d
Merge pull request #209 from jlouis/fix-17
Fix compile on Release 17 the right way.
hace 11 años
Jesper Louis Andersen
1987ca32f5
Fix compile on Release 17 the right way.
Change a latin1 sequence so it is given as a list of integers. this avoids the problem entirely
since ASCII has the same representation in both latin1 and in utf-8
hace 11 años
Andrew Thompson
e118ae7a71
Merge pull request #205 from pooya/master
Use a binary rebar compiled with an older version of Erlang.
hace 11 años
Shayan Pooya
b31c47c61a
Use a binary rebar compiled with an older version of Erlang.
It has been compiled with R13B03 and resolves issue #183 .
hace 11 años
Andrew Thompson
b6b6cebcb2
Roll version 2.0.3
hace 11 años
Andrew Thompson
0e2ed22292
Merge pull request #202 from basho/adt-buildbot-fixes
Make tests pass on buildbot more of the time
hace 11 años
Andrew Thompson
46785b6541
Merge pull request #204 from roowe/disable_pp_records
support disable pretty printing records encountered at compile time
hace 11 años
Roowe
f797f99218
support disable pretty printing records encountered at compile time
hace 11 años
Andrew Thompson
da4419e23e
Merge pull request #201 from yfyf/flush_only_events
Only discard gen_event notifications on high watermark
hace 11 años
Andrew Thompson
752733b093
Make tests pass on buildbot more of the time
hace 11 años
Ignas Vyšniauskas
b07d6b5255
Only discard gen_event notifications on high watermark
Previously all messages were being flushed, which meant that trapped exits
and internal gen_event messaging was also flushed, leading to undefined
behaviour.
closes #198
hace 11 años
Andrew Thompson
85c2c2f824
Merge pull request #200 from yfyf/fix_tests
Fix: correct lager startup in crash_log test
hace 11 años
Ignas Vyšniauskas
8986d441c7
Fix: correct lager startup in crash_log test
hace 11 años
Andrew Thompson
bb256c2743
Merge pull request #199 from howleysv/pr-empty-tuple-fix
Fixed empty tuple bug in lager:pr/2
hace 11 años
Shane Howley
d58e633e15
Fixed issue whereby element(1, ...) is called on every tuple nested inside a pretty printed record regardless of size.
Modified unit test to test 0 size tuple case.
hace 11 años
Andrew Thompson
649becd815
Merge pull request #196 from basho/adt-less-proplists
Don't use the proplists module when decoding error_logger messages
hace 11 años
Andrew Thompson
b6bfaca5f3
Add comment and fix EQC generator
hace 11 años
Andrew Thompson
44d5c0cd9c
Merge pull request #197 from basho/gh-164
Add newline to error_msg:error_report lines in crash.log, see #164
hace 11 años
Andrew Thompson
92072c355e
Add newline to error_msg:error_report lines in crash.log, see #164
hace 11 años
Andrew Thompson
a718b896b8
Merge pull request #170 from MaximMinin/master
pretty printing of nested records
hace 11 años
Andrew Thompson
7e393614a7
Merge pull request #193 from zuav/master
Fix lager_console_backend:is_new_style_console_available() function
hace 11 años
Andrew Thompson
32ea928694
Don't use the proplists module when decoding error_logger messages
Proplist module is a lot slower than lists:keyfind, which is a BIF,
because proplists has to work with 'bare' atoms as well as 2-tuples.
This should marginally improve the throughput when printing many
error_logger messages.
hace 11 años
Andrew Thompson
73a120788d
Merge pull request #194 from basho/feature/xref
Add xref target, with exclusions
hace 11 años
Andrew Thompson
002555ae7c
Make xref depend on compile
hace 11 años
Andrew Thompson
4a0c5e9b55
Add xref target, with exclusions
hace 11 años
Alexander Zhukov
032b3fc518
Fix lager_console_backend:is_new_style_console_available() function: check for win32 was incorrect.
hace 11 años
Andrew Thompson
0df1dd4949
Roll version 2.0.2
hace 11 años
Andrew Thompson
da0e4cae00
Merge pull request #192 from basho/adt-fix-empty-binary-printing
Remove the workaround for the bug when printing empty binaries in W mode
hace 11 años
Andrew Thompson
017a5167fa
Force goldrush to version 0.1.6
hace 11 años
Andrew Thompson
6ab08dc097
Fix test run on OSX
hace 11 años
Andrew Thompson
4c7bd96d62
Remove the workaround for the bug when printing empty binaries in W mode
The fix for this was merged in R16 somewhere, so this workaround is no
longer needed, and fixes the EQC test from spotting the divergent
behaviour with io_lib.
See also: http://erlang.org/pipermail/erlang-patches/2012-September/003034.html
hace 11 años
Andrew Thompson
6a7a456bd5
Merge pull request #188 from basho/adt-dialyzer-fixes
Fix dialyzer warnings and make all the records typed
hace 11 años
Andrew Thompson
faf3096d99
Fix dialyzer warnings and make all the records typed
hace 11 años
Andrew Thompson
d18019bff4
Tweak test and update goldrush dep
hace 11 años