Jon Meredith
1487f4f80b
Merge pull request #237 from fishcakez/ct_backend_dialyzer
Fix ct backend dialyzer warnings
10 роки тому
James Fish
cd76e0fff0
Update tools.mk
10 роки тому
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.
10 роки тому
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
10 роки тому
James Fish
2ce67d5d53
Fix line numbers detection in tests for OTP >= 17
10 роки тому
Mattias Jansson
f433da014b
Mention the color atom for the formatter config
10 роки тому
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.
10 роки тому
Jared Morrow
dd267603e9
Merge pull request #224 from joedevivo/master
lager_common_test_backend
10 роки тому
Joe DeVivo
d29d6c7062
cleaned up lager_common_test_backend:bounce for log level
10 роки тому
Joe DeVivo
28239b887e
Removed 1.X support
10 роки тому
Joe DeVivo
d7f60e2c72
@doc for lager_common_test_backend
10 роки тому
Joe DeVivo
1b8acdb05b
lager_backend for use with common_test
10 роки тому
Andrew Thompson
4d8291edb7
Merge pull request #216 from fogfish/master
fix issue #215 : lager.app env overwrites default handlers
11 роки тому
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)
11 роки тому
Andrew Thompson
63c2ad6ba3
Merge pull request #210 from egobrain/patch-1
Fixed typo in README.md
11 роки тому
egobrain
5e38f33b9f
Fixed typo in README.md
Fixed forgotten commas.
11 роки тому
Andrew Thompson
1613842357
Fix eunit test
11 роки тому
Andrew Thompson
36466ef78c
Merge pull request #166 from srstrong/master
Added options parameter to lager:trace_file
11 роки тому
Andrew Thompson
73f0806a0d
Merge pull request #209 from jlouis/fix-17
Fix compile on Release 17 the right way.
11 роки тому
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
11 роки тому
Andrew Thompson
e118ae7a71
Merge pull request #205 from pooya/master
Use a binary rebar compiled with an older version of Erlang.
11 роки тому
Shayan Pooya
b31c47c61a
Use a binary rebar compiled with an older version of Erlang.
It has been compiled with R13B03 and resolves issue #183 .
11 роки тому
Andrew Thompson
b6b6cebcb2
Roll version 2.0.3
11 роки тому
Andrew Thompson
0e2ed22292
Merge pull request #202 from basho/adt-buildbot-fixes
Make tests pass on buildbot more of the time
11 роки тому
Andrew Thompson
46785b6541
Merge pull request #204 from roowe/disable_pp_records
support disable pretty printing records encountered at compile time
11 роки тому
Roowe
f797f99218
support disable pretty printing records encountered at compile time
11 роки тому
Andrew Thompson
da4419e23e
Merge pull request #201 from yfyf/flush_only_events
Only discard gen_event notifications on high watermark
11 роки тому
Andrew Thompson
752733b093
Make tests pass on buildbot more of the time
11 роки тому
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
11 роки тому
Andrew Thompson
85c2c2f824
Merge pull request #200 from yfyf/fix_tests
Fix: correct lager startup in crash_log test
11 роки тому
Ignas Vyšniauskas
8986d441c7
Fix: correct lager startup in crash_log test
11 роки тому
Andrew Thompson
bb256c2743
Merge pull request #199 from howleysv/pr-empty-tuple-fix
Fixed empty tuple bug in lager:pr/2
11 роки тому
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.
11 роки тому
Andrew Thompson
649becd815
Merge pull request #196 from basho/adt-less-proplists
Don't use the proplists module when decoding error_logger messages
11 роки тому
Andrew Thompson
b6bfaca5f3
Add comment and fix EQC generator
11 роки тому
Andrew Thompson
44d5c0cd9c
Merge pull request #197 from basho/gh-164
Add newline to error_msg:error_report lines in crash.log, see #164
11 роки тому
Andrew Thompson
92072c355e
Add newline to error_msg:error_report lines in crash.log, see #164
11 роки тому
Andrew Thompson
a718b896b8
Merge pull request #170 from MaximMinin/master
pretty printing of nested records
11 роки тому
Andrew Thompson
7e393614a7
Merge pull request #193 from zuav/master
Fix lager_console_backend:is_new_style_console_available() function
11 роки тому
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.
11 роки тому
Ali Sabil
d78c207cff
Add support for handling ranch errors
11 роки тому
Andrew Thompson
73a120788d
Merge pull request #194 from basho/feature/xref
Add xref target, with exclusions
11 роки тому
Andrew Thompson
002555ae7c
Make xref depend on compile
11 роки тому
Andrew Thompson
4a0c5e9b55
Add xref target, with exclusions
11 роки тому
Alexander Zhukov
032b3fc518
Fix lager_console_backend:is_new_style_console_available() function: check for win32 was incorrect.
11 роки тому
Andrew Thompson
0df1dd4949
Roll version 2.0.2
11 роки тому
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
11 роки тому
Andrew Thompson
017a5167fa
Force goldrush to version 0.1.6
11 роки тому
Andrew Thompson
6ab08dc097
Fix test run on OSX
11 роки тому
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
11 роки тому