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 年前
Micah Warren
0b16d5ebcd
Fixed unused vars warnings
Also removed commented out code.
12 年前
Micah Warren
06103bbf9a
Quick fix for issue#64
There are still differences between the erlang io_lib and the trunc_io in
how ~p/~P are handled, but a first step is useful here.
12 年前
Jared Morrow
0e1947e90e
Roll version 1.2.0
13 年前
Andrew Thompson
d3cff8c6d7
R14B support for ucaught throws
13 年前
Andrew Thompson
fad809bed4
Handle uncaught throws in a gen_* process better
13 年前
Devin Torres
80a0e9f5c1
Add support for a custom log truncation size compile time flag
13 年前
Andrew Thompson
f5ca930b2e
Vertical tab support
13 年前
Andrew Thompson
d416dc0a20
Fix escaped char printing in ~p mode, reported by @etrepum
13 年前
Andrew Thompson
0a3d64f078
Better error handling for 'special processes'
13 年前