Andrew Thompson
e04830b382
Tag lager_msg messages with a {log, ...} tuple
Helps with pattern matching.
12 vuotta sitten
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 vuotta sitten
Andrew Thompson
dc6ad0ed3a
Typo
12 vuotta sitten
Andrew Thompson
bcbd8ff939
Document the lager_truncation_size compile-time option
12 vuotta sitten
Andrew Thompson
12a784b18e
Time makes fools of us all
12 vuotta sitten
Andrew Thompson
55283cc2c2
Make the default truncation limit a macro
12 vuotta sitten
Andrew Thompson
350ba40f0e
Fix typo
12 vuotta sitten
Dave Parfitt
2f43acab35
Merge pull request #76 from bipthelin/bt-lager-loggly
Add informtion about loggly backend
12 vuotta sitten
Andrew Thompson
a582eafde0
Merge pull request #77 from basho/adt-format-equivalence
Use quickcheck to test for formatting equivalenve with io_lib
12 vuotta sitten
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 vuotta sitten
Bip Thelin
e99c9dd99b
Add informtion about loggly backend
12 vuotta sitten
Andrew Thompson
e07c0481ac
One function doesn't make a module
12 vuotta sitten
Andrew Thompson
c78ecdc05f
Merge pull request #53 from basho/edoc-add
adding css for edocs; also adding edoc pointer to README
12 vuotta sitten
Andrew Thompson
277dafa9ad
Adjust documentation
12 vuotta sitten
Andrew Thompson
d1de19b4a3
Stricter dialyzer options
13 vuotta sitten
Andrew Thompson
bc338b22e9
Fix dialyzer warnings
13 vuotta sitten
Andrew Thompson
cf4b3dcba9
Licencing headers
13 vuotta sitten
Andrew Thompson
05718792ae
Whitespace cleanups
13 vuotta sitten
Andrew Thompson
82eda718f2
Update the console backend to use new default formatter for verbose mode
13 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Dave Parfitt
77e7b681d5
Merge pull request #69 from basho/dip_rebar2.0
update rebar to 2.0.0
12 vuotta sitten
Dave Parfitt
8f8ecbbe5a
Merge pull request #56 from devinus/truncation-size
Add support for a custom log truncation size compile time flag
12 vuotta sitten
Andrew Thompson
f29b14f18c
Merge pull request #70 from basho/jnd-readme
Added lager:start() to the README
12 vuotta sitten
Joe DeVivo
3a1579acb1
Added lager:start() to the README
12 vuotta sitten
Dave Parfitt
b5c0caa678
update rebar to 2.0.0
12 vuotta sitten
Andrew Thompson
c7133603cc
Merge pull request #68 from thomasc/fix/direct-console-logger-to-user
Direct the console logger output to user
12 vuotta sitten
thomasc
938d351969
Restore user process registration to it's original value in the console logger tests
12 vuotta sitten
thomasc
f9e36ed5c2
Direct the console logger output to user
12 vuotta sitten
Andrew Thompson
7a882dbbc7
Merge pull request #67 from basho/jnd-crlf
Added CRs to the LFs in lager_console_backend
12 vuotta sitten
Joe DeVivo
9f22054f92
Added CRs to the LFs in lager_console_backend
12 vuotta sitten
Micah Warren
7af0b9c94e
Added test for very short field width on ~s
12 vuotta sitten
Micah Warren
0b16d5ebcd
Fixed unused vars warnings
Also removed commented out code.
12 vuotta sitten
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 vuotta sitten
Jared Morrow
0e1947e90e
Roll version 1.2.0
12 vuotta sitten
Sean Cribbs
40abd541f4
Add chat bot notification.
13 vuotta sitten
Andrew Thompson
8cd7fb5f34
Merge pull request #62 from basho/adt-uncaught-throw
Handle uncaught throw error messages better
13 vuotta sitten
Andrew Thompson
d3cff8c6d7
R14B support for ucaught throws
13 vuotta sitten
Andrew Thompson
fad809bed4
Handle uncaught throws in a gen_* process better
13 vuotta sitten
Sean Cribbs
ec60541b0c
Fix build status badge [ci skip]
13 vuotta sitten
Sean Cribbs
d22e9593f9
Merge pull request #61 from basho/add-travis-ci
Add Travis CI hook and build status
13 vuotta sitten
Sean Cribbs
b5f7361461
Add Travis CI hook and build status.
13 vuotta sitten
Andrew Thompson
9cd664cbb4
Merge pull request #51 from basho/adt-better-special-process-errors
Better error handling for 'special processes'
13 vuotta sitten
Andrew Thompson
6faafc93da
Merge pull request #52 from basho/gh52-escaped-char-printing
binaries with escaped chars are not formatted correctly by ~p
13 vuotta sitten
Devin Torres
80a0e9f5c1
Add support for a custom log truncation size compile time flag
13 vuotta sitten
Mark Phillips
978ac73951
adding css for edocs; also adding edoc pointer to README
13 vuotta sitten
Andrew Thompson
f5ca930b2e
Vertical tab support
13 vuotta sitten
Andrew Thompson
d416dc0a20
Fix escaped char printing in ~p mode, reported by @etrepum
13 vuotta sitten
Andrew Thompson
0a3d64f078
Better error handling for 'special processes'
13 vuotta sitten
Andrew Thompson
7815a88c55
Fix the Fix for the Fix for #49 , thanks to Kostis for keeping me honest
13 vuotta sitten