John R. Daily
efd3164248
Stupid compiler errors
10年前
John R. Daily
21fd439a6f
Stupid compiler errors
10年前
John R. Daily
53488fcb1a
Trailing commas, my old enemy
10年前
John R. Daily
0ec113132b
Traces now are assigned to a single sink as requested (or lager_event by default)
10年前
John R. Daily
cc7e4d26d4
Start incorporating support for dedicated tracing sink
10年前
John R. Daily
db697bc720
Revert last change: we are not (yet) allowing backends to watch multiple sinks
10年前
John R. Daily
6f6b0110f2
Starting down the path of making backends handle multiple sinks (primary use case is tracing)
10年前
John R. Daily
c0d859441f
Rethink configuration, heavily rework lager_app:start for more modularity
10年前
John R. Daily
a932df0e7d
To make configuration backwards compatible, I think lager_event stays as a special sink, with other sinks able to be added
10年前
John R. Daily
f8cd7ec888
More DEFAULT_SINK
10年前
John R. Daily
2d33a13415
Clarify that "event" in this module is what we are now calling a "sink"
10年前
John R. Daily
730ab66717
For places in the revised API where we use lager_event as a default value, use a macro instead
10年前
Mark Allen
f6e6b83927
Record some code comments from jrd walk-thru
10年前
Mark Allen
90ce2ac2b9
WIP
Finish lager API modifications
Update config API to handle multiple sinks
Identify areas where new code is yet to be written
10年前
Mark Allen
546036f75a
WIP
First pass at adding sink parameter into the external API layer.
TODO:
* config updates
* loglevel changes per sink
10年前
Andrew Thompson
d33ccf3b69
Version 2.1.1
10年前
Andrew Thompson
f27480c8a7
Fix #252 and add some more tests to the formatter
10年前
Andrew Thompson
80663da3b4
Improve format_reason for certain oddly formed badarg stacktraces
10年前
Andrew Thompson
95f5a133af
Fix #163 - start the file backend if it isn't running but a trace uses it
10年前
Andrew Thompson
b0a5d08227
Fix trace_file to return the new trace return type
10年前
Andrew Thompson
c2b75f0674
Make start_trace return a term that stop_trace/1 can consume
10年前
Evan Vigil-McClanahan
df3cf16345
add application stop/start suppression for ct logs
in common test, starting and stopping applications can make your logs
very noisy. the patch allows these messages to be suppressed on the
happy path, and raises the high water mark during ct tests so that
messages aren't dropped.
10年前
Luis Rascao
9d0bfda1d5
make trace and stop_trace take the same arguments
10年前
Joe DeVivo
109aa6b605
needs log level explicitly set
10年前
Danil Zagoskin
78d80bdddd
implement log_dir option handling
10年前
Joe DeVivo
dd792c8e0c
removed other handlers for common test bounces
10年前
Jon Meredith
840acab51e
Bumped version to 2.1.0 to reflect map support and other fixes.
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年前
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年前
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
1613842357
Fix eunit test
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
b6b6cebcb2
Roll version 2.0.3
11年前
Roowe
f797f99218
support disable pretty printing records encountered at compile time
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年前
Ignas Vyšniauskas
8986d441c7
Fix: correct lager startup in crash_log test
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
b6bfaca5f3
Add comment and fix EQC generator
11年前
Andrew Thompson
92072c355e
Add newline to error_msg:error_report lines in crash.log, see #164
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年前
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
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年前
Andrew Thompson
faf3096d99
Fix dialyzer warnings and make all the records typed
11年前