Andrew Thompson
0ec0d9055b
Also allow list comps, function calls and record fields as lager arguments
12年前
Andrew Thompson
95fdf935b9
Support variables as arguments to lager:info and friends
As long as *one* of the arguments is a literal, lager can figure out
what you're trying to do and (re)arrange the arguments as necessary.
12年前
Andrew Thompson
932b482e4a
Support printing iolists with ~s
12年前
Andrew Thompson
24d17d05fa
Fix for loglevel none in status
12年前
Andrew Thompson
351e482735
File backends started as part of a trace have a loglevel of 'none'
12年前
Andrew Thompson
c8096302aa
Fix a regression about setting loglevel to 'none'
12年前
Andrew Thompson
069e553f1d
Fix a couple bugs in tracing
12年前
Tristan Sloughter
10059b60ae
add whitelist of error_logger handlers not to delete when error_logger_redirect is true
12年前
Andrew Thompson
7986ec43a1
A sacrifice to the dialyzer god
12年前
Andrew Thompson
c3fc3c4e24
Add tests, fix some bugs & fix dialyzer specs
12年前
Andrew Thompson
9b73d461d0
Document the registered process in the .app file
This helps systools detect registered name clashes
12年前
Andrew Thompson
1074416140
Return Default if lager_config:get/2 crashes
12年前
Andrew Thompson
f566318bdc
Add some more record printing tests and fix a bug
12年前
Andrew Thompson
86c7c620bc
Lager master will become lager 2.0
12年前
Andrew Thompson
da4e0cfa84
Support backend modules defining their own gen_event handler ID
12年前
Andrew Thompson
ecebfe4269
Reject invalid format strings more aggressively
12年前
Andrew Thompson
9bd0a411a3
Support pretty printing records found in a module at compile time
12年前
Andrew Thompson
45f833e5db
Attempt to determine application at compile time and store in metadata
12年前
Petr Gotthard
1c7a29f4fc
BUGFIX: Avoid overloading the LOG macro.
12年前
Andrew Thompson
f4f3dd3817
Rewrite to use a bitmask to represent active loglevels
Also, adapt the rest of lager to use this bitmask as well.
12年前
Andrew Thompson
67bce42bb8
Add syslog comparison support to file and console backends
12年前
snaky
9151da2306
Fix custom formatter spec for lager_file_backend (version 2)
12年前
Andrew Thompson
7aa316902e
Initial work on syslog style comparison flags for loglevels
12年前
Andrew Thompson
a192bd9e91
Replace mochiglobal with a public ETS table
This also removes the dependency on the syntax_tools and compiler
applications, which interfered with lager's startup/shutdown order.
12年前
Andrew Thompson
d648264942
Pid can sometimes be 'emulator', turns out
12年前
Artem Teslenko
63cc66aa02
Remove unnecessary debug message
12年前
Andrew Thompson
ed7e2aac35
Test and fix for a printable yet improper list
12年前
Magnus Henoch
0fda333cbf
Use -include instead of -include_lib
As the include file is located in the same application, using
-include instead of -include_lib removes the need for the
code directory to be called "lager" or "lager-VSN".
12年前
Tilman Holschuh
23b26d94d4
added test case for custom format logging on console
12年前
Tilman Holschuh
84034aa512
added "node" to metadata in parse transform
12年前
serge
3a7b235866
Added more test cases
12年前
serge
f52558b558
Performance improvement in date formatting function.
The micro-benchmarks show up to 20x improvement, which further
reduces logging overhead.
12年前
Andrew Thompson
d8ad5eb64a
Roll version 1.2.1
12年前
Andrew Thompson
e04830b382
Tag lager_msg messages with a {log, ...} tuple
Helps with pattern matching.
12年前
Andrew Thompson
180e09fd01
Use an opaque type with a module for accessors rather than a record
I didn't want the lager_log_message record being used across application
boundaries, this will insulate other applications from any changes to
the message type's internal structure.
12年前
Andrew Thompson
12a784b18e
Time makes fools of us all
12年前
Andrew Thompson
55283cc2c2
Make the default truncation limit a macro
12年前
Andrew Thompson
35872409bc
Use quickcheck to test for formatting equivalenve with io_lib
Various bugs uncovered during this testing were fixed and added to the
test suite.
12年前
Andrew Thompson
e07c0481ac
One function doesn't make a module
12年前
Andrew Thompson
277dafa9ad
Adjust documentation
12年前
Andrew Thompson
bc338b22e9
Fix dialyzer warnings
13年前
Andrew Thompson
cf4b3dcba9
Licencing headers
13年前
Andrew Thompson
05718792ae
Whitespace cleanups
13年前
Andrew Thompson
82eda718f2
Update the console backend to use new default formatter for verbose mode
13年前
Andrew Thompson
7b05164249
Change the default formatter to be backwards compatible with old behaviour
Had to add a pseudo-ternary operator to the formatter to support this.
Also allowed lager:log to log metadata.
13年前
Jason Wagner
0415d21669
Changed the messages sent to the backends to include metadata and separated formatting from the backend. Added documentation, fixed tests, and removed some unused code.
13年前
thomasc
938d351969
Restore user process registration to it's original value in the console logger tests
12年前
thomasc
f9e36ed5c2
Direct the console logger output to user
12年前
Joe DeVivo
9f22054f92
Added CRs to the LFs in lager_console_backend
12年前
Micah Warren
7af0b9c94e
Added test for very short field width on ~s
12年前