Andrew Thompson
f566318bdc
Add some more record printing tests and fix a bug
před 12 roky
Andrew Thompson
86c7c620bc
Lager master will become lager 2.0
před 12 roky
Andrew Thompson
da4e0cfa84
Support backend modules defining their own gen_event handler ID
před 12 roky
Andrew Thompson
ecebfe4269
Reject invalid format strings more aggressively
před 12 roky
Andrew Thompson
9bd0a411a3
Support pretty printing records found in a module at compile time
před 12 roky
Andrew Thompson
45f833e5db
Attempt to determine application at compile time and store in metadata
před 12 roky
Andrew Thompson
8d353aab65
Merge pull request #98 from gotthardp/no_macro_overload2
BUGFIX: Avoid overloading the LOG macro.
před 12 roky
Petr Gotthard
1c7a29f4fc
BUGFIX: Avoid overloading the LOG macro.
před 12 roky
Andrew Thompson
f4f3dd3817
Rewrite to use a bitmask to represent active loglevels
Also, adapt the rest of lager to use this bitmask as well.
před 12 roky
Andrew Thompson
bf1efd0573
Merge pull request #81 from ypaq/master
Added node to metadata in parse transfrom
před 12 roky
Andrew Thompson
67bce42bb8
Add syslog comparison support to file and console backends
před 12 roky
Andrew Thompson
f2f08d13fa
Merge pull request #85 from blinkov/master
Add "SMTP Support" section to README.org
před 12 roky
Andrew Thompson
ea87dd90aa
Merge pull request #84 from ates/master
Unnecessary debug message
před 12 roky
Andrew Thompson
464644836f
Merge pull request #92 from lukyanov/file_backend_formatter_fix2
Fix custom formatter spec for lager_file_backend (version 2)
před 12 roky
snaky
9151da2306
Fix custom formatter spec for lager_file_backend (version 2)
před 12 roky
Andrew Thompson
7aa316902e
Initial work on syslog style comparison flags for loglevels
před 12 roky
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.
před 12 roky
Ivan Blinkov
abc11b2f04
Add "SMTP Support" section to README.org
před 12 roky
Andrew Thompson
d648264942
Pid can sometimes be 'emulator', turns out
před 12 roky
Artem Teslenko
63cc66aa02
Remove unnecessary debug message
před 12 roky
Andrew Thompson
ed7e2aac35
Test and fix for a printable yet improper list
před 12 roky
Andrew Thompson
153117066e
Merge pull request #82 from legoscia/master
Use -include instead of -include_lib
před 12 roky
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".
před 12 roky
Tilman Holschuh
23b26d94d4
added test case for custom format logging on console
před 12 roky
Tilman Holschuh
84034aa512
added "node" to metadata in parse transform
před 12 roky
Andrew Thompson
0b797bc657
Merge pull request #80 from saleyn/format_time
Performance improvement in date formatting function.
před 12 roky
serge
3a7b235866
Added more test cases
před 12 roky
serge
f52558b558
Performance improvement in date formatting function.
The micro-benchmarks show up to 20x improvement, which further
reduces logging overhead.
před 12 roky
Andrew Thompson
9981ca0b4d
Merge pull request #74 from basho/adt-tensorwrench-integration-2
Changed the messages sent to the backends to include metadata and separated formatting from the backend
před 12 roky
Andrew Thompson
d8ad5eb64a
Roll version 1.2.1
před 12 roky
Andrew Thompson
e04830b382
Tag lager_msg messages with a {log, ...} tuple
Helps with pattern matching.
před 12 roky
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.
před 12 roky
Andrew Thompson
dc6ad0ed3a
Typo
před 12 roky
Andrew Thompson
bcbd8ff939
Document the lager_truncation_size compile-time option
před 12 roky
Andrew Thompson
12a784b18e
Time makes fools of us all
před 12 roky
Andrew Thompson
55283cc2c2
Make the default truncation limit a macro
před 12 roky
Andrew Thompson
350ba40f0e
Fix typo
před 12 roky
Dave Parfitt
2f43acab35
Merge pull request #76 from bipthelin/bt-lager-loggly
Add informtion about loggly backend
před 12 roky
Andrew Thompson
a582eafde0
Merge pull request #77 from basho/adt-format-equivalence
Use quickcheck to test for formatting equivalenve with io_lib
před 12 roky
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.
před 12 roky
Bip Thelin
e99c9dd99b
Add informtion about loggly backend
před 12 roky
Andrew Thompson
e07c0481ac
One function doesn't make a module
před 12 roky
Andrew Thompson
c78ecdc05f
Merge pull request #53 from basho/edoc-add
adding css for edocs; also adding edoc pointer to README
před 12 roky
Andrew Thompson
277dafa9ad
Adjust documentation
před 12 roky
Andrew Thompson
d1de19b4a3
Stricter dialyzer options
před 13 roky
Andrew Thompson
bc338b22e9
Fix dialyzer warnings
před 13 roky
Andrew Thompson
cf4b3dcba9
Licencing headers
před 13 roky
Andrew Thompson
05718792ae
Whitespace cleanups
před 13 roky
Andrew Thompson
82eda718f2
Update the console backend to use new default formatter for verbose mode
před 13 roky
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.
před 13 roky