Luis Rascao
9d0bfda1d5
make trace and stop_trace take the same arguments
před 10 roky
Luis Rascao
474516c95d
add per-module per-function trace example
před 10 roky
Jon Meredith
e88c9160ae
Merge pull request #244 from joedevivo/master
needs log level explicitly set
před 10 roky
Joe DeVivo
109aa6b605
needs log level explicitly set
před 10 roky
Danil Zagoskin
e0a7d02815
mention log_root variable in README.md
před 10 roky
Danil Zagoskin
78d80bdddd
implement log_dir option handling
před 10 roky
Bishop Bors
4bb4634804
Merge pull request #240 from joedevivo/master
removed other handlers for common test bounces
Reviewed-by: seancribbs
před 10 roky
Joe DeVivo
dd792c8e0c
removed other handlers for common test bounces
před 10 roky
Jon Meredith
840acab51e
Bumped version to 2.1.0 to reflect map support and other fixes.
před 10 roky
Jon Meredith
2ced8a69cf
Merge pull request #236 from fishcakez/maps
Add maps support
před 10 roky
Jon Meredith
1487f4f80b
Merge pull request #237 from fishcakez/ct_backend_dialyzer
Fix ct backend dialyzer warnings
před 10 roky
James Fish
cd76e0fff0
Update tools.mk
před 10 roky
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.
před 10 roky
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
před 10 roky
James Fish
2ce67d5d53
Fix line numbers detection in tests for OTP >= 17
před 10 roky
Mattias Jansson
f433da014b
Mention the color atom for the formatter config
před 10 roky
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.
před 10 roky
Jared Morrow
dd267603e9
Merge pull request #224 from joedevivo/master
lager_common_test_backend
před 10 roky
Joe DeVivo
d29d6c7062
cleaned up lager_common_test_backend:bounce for log level
před 10 roky
Joe DeVivo
28239b887e
Removed 1.X support
před 10 roky
Joe DeVivo
d7f60e2c72
@doc for lager_common_test_backend
před 10 roky
Joe DeVivo
1b8acdb05b
lager_backend for use with common_test
před 10 roky
Andrew Thompson
4d8291edb7
Merge pull request #216 from fogfish/master
fix issue #215 : lager.app env overwrites default handlers
před 11 roky
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)
před 11 roky
Andrew Thompson
63c2ad6ba3
Merge pull request #210 from egobrain/patch-1
Fixed typo in README.md
před 11 roky
egobrain
5e38f33b9f
Fixed typo in README.md
Fixed forgotten commas.
před 11 roky
Andrew Thompson
1613842357
Fix eunit test
před 11 roky
Andrew Thompson
36466ef78c
Merge pull request #166 from srstrong/master
Added options parameter to lager:trace_file
před 11 roky
Andrew Thompson
73f0806a0d
Merge pull request #209 from jlouis/fix-17
Fix compile on Release 17 the right way.
před 11 roky
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
před 11 roky
Andrew Thompson
e118ae7a71
Merge pull request #205 from pooya/master
Use a binary rebar compiled with an older version of Erlang.
před 11 roky
Shayan Pooya
b31c47c61a
Use a binary rebar compiled with an older version of Erlang.
It has been compiled with R13B03 and resolves issue #183 .
před 11 roky
Andrew Thompson
b6b6cebcb2
Roll version 2.0.3
před 11 roky
Andrew Thompson
0e2ed22292
Merge pull request #202 from basho/adt-buildbot-fixes
Make tests pass on buildbot more of the time
před 11 roky
Andrew Thompson
46785b6541
Merge pull request #204 from roowe/disable_pp_records
support disable pretty printing records encountered at compile time
před 11 roky
Roowe
f797f99218
support disable pretty printing records encountered at compile time
před 11 roky
Andrew Thompson
da4419e23e
Merge pull request #201 from yfyf/flush_only_events
Only discard gen_event notifications on high watermark
před 11 roky
Andrew Thompson
752733b093
Make tests pass on buildbot more of the time
před 11 roky
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
před 11 roky
Andrew Thompson
85c2c2f824
Merge pull request #200 from yfyf/fix_tests
Fix: correct lager startup in crash_log test
před 11 roky
Ignas Vyšniauskas
8986d441c7
Fix: correct lager startup in crash_log test
před 11 roky
Andrew Thompson
bb256c2743
Merge pull request #199 from howleysv/pr-empty-tuple-fix
Fixed empty tuple bug in lager:pr/2
před 11 roky
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.
před 11 roky
Andrew Thompson
649becd815
Merge pull request #196 from basho/adt-less-proplists
Don't use the proplists module when decoding error_logger messages
před 11 roky
Andrew Thompson
b6bfaca5f3
Add comment and fix EQC generator
před 11 roky
Andrew Thompson
44d5c0cd9c
Merge pull request #197 from basho/gh-164
Add newline to error_msg:error_report lines in crash.log, see #164
před 11 roky
Andrew Thompson
92072c355e
Add newline to error_msg:error_report lines in crash.log, see #164
před 11 roky
Andrew Thompson
a718b896b8
Merge pull request #170 from MaximMinin/master
pretty printing of nested records
před 11 roky
Andrew Thompson
7e393614a7
Merge pull request #193 from zuav/master
Fix lager_console_backend:is_new_style_console_available() function
před 11 roky
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.
před 11 roky