Mark Allen
6452db6388
Forward port #292 to 3.x branch
255 is a valid ISO-8859-1 character. This was fixed
on 2.x by #292 . Forward port the fix into 3.x.
9 роки тому
Mark Allen
1265b62df5
Merge pull request #298 from habibutsu/master
Function for printing stacktrace in human readable form
9 роки тому
Alexander Verbitsky
aef8b9a9f4
Rewriting of function for printing stacktrace in human readable form with using 'format_mfa'
9 роки тому
Alexander Verbitsky
030309e8f1
Backward compatibility for old OTP versions
9 роки тому
Alexander Verbitsky
93f1c95894
Function for printing stacktrace in human readable form
9 роки тому
Mark Allen
599dda6786
Roll 3.0.2
* Add formatting options to align text differently if desired
* Fix some typos in comments and docs
* Optionally print all metadata
* Fix R15 compatibility
9 роки тому
Mark Allen
4dedf15501
Merge pull request #297 from A40in/default_formatter_width
Add option to format output with Width param in lager_default_formatter
9 роки тому
sag
36701dba58
fix: string:right is arity 2, test for bad args
9 роки тому
sag
55108be9f2
fix: the word width is misspelled in all of the test cases
9 роки тому
sag
69feaad151
Add option to format output with Width param (Width | {left|center|right,Width})
ex:[{pid, ["123456:", pid], ["Unknown Pid"], {right, 10}}] -> if pid is in the metadata print " 123456: <?.?.?>", otherwise print "nknown Pid"
placeholders: date, time, message, sev, metadata and new placeholder blank(blank | {blank, Fill} ignore width param
9 роки тому
Mark Allen
363ca0a857
Merge pull request #295 from snaiper80/fix_typo
Fix several typos in srcs
9 роки тому
Lee GiTack
8b16d41201
Fix several typos
9 роки тому
Mark Allen
4d2ec8c701
Merge pull request #294 from basho/enhancement/print-all-metadata
Add option to print all metadata in the default formatter
9 роки тому
Andrew Thompson
8438687757
Add option to print all metadata in the default formatter
Metadata can be printed with standard or custom internal seperators ad field
seperators. The defaults are "=" and " ":
"key1=value1 key2=value2"
9 роки тому
Bishop Bors
e82bb13efa
Merge pull request #284 from basho/bugfix/jrd/r15-compat
Fix R15 compatibility
Reviewed-by: mrallen1
9 роки тому
John R. Daily
2f7f7b7dde
application:get_env/3 has different semantics than get_env/2
9 роки тому
John R. Daily
6e2d97389c
Handle lack of get_env/3 within R15
9 роки тому
Mark Allen
cbf6679c6a
Roll 3.0.1
9 роки тому
Bishop Bors
ca280a2a02
Merge pull request #282 from basho/test/mra/gh280
Add test case and fix for #280
Reviewed-by: javajolt
9 роки тому
Mark Allen
9c0e141d30
Add test case for gh280 fix
9 роки тому
Mark Allen
f87caa7f9b
Merge branch 'bugfix/jrd/280' of github.com:/basho/lager into test/mra/gh280
9 роки тому
Mark Allen
c82c11796d
Initial test case for gh#280
This provokes the failure but I am having a hard time
capturing the failure. When run from the shell the
message {'gen_event_EXIT',Handler,Reason} is sent
but within the context of eunit it doesn't seem to be
going to the right mailbox.
9 роки тому
John R. Daily
13d4db235d
Intercept error_logger as pseudo-sink before getting deeper into loglevel code
9 роки тому
Mark Allen
26540665e6
Merge pull request #270 from basho/intg
Integrate patches into lager 3.0 release
9 роки тому
Mark Allen
20edd1519a
Make sink name construction common & test
Based on code review comments put this function into util.
Added a couple simple unit tests for sanity checking purposes.
9 роки тому
Mark Allen
25b700d930
{ok, exists} is accounted for in the code path
Removed comment
9 роки тому
Mark Allen
d7cd9fc36d
Rename list_all_sinks
9 роки тому
Mark Allen
7f92811696
Use '_lager_event' for sinks
During code review we decided that using Sink ++ '_lager_event'
would provide better isolation for gen_event names than
Sink ++ '_event' as we had been using up to this point.
For example a sink called 'audit' is now 'audit_lager_event'
than 'audit_event' which might clash with a user's predefined
own module or process name.
9 роки тому
Bishop Bors
30600c5504
Merge pull request #278 from basho/unsafe_format
Add an unsafe_formatting code path
Reviewed-by: JeetKunDoug
9 роки тому
Mark Allen
2e81dc3b0e
Add some warnings around _unsafe
9 роки тому
Mark Allen
5bcdadeccb
Add log_unsafe/4
9 роки тому
Mark Allen
e0abc34a32
Remove testing crutch
9 роки тому
Mark Allen
6a458a4280
Make 'dynamic' conform to OTP gh#271
9 роки тому
Mark Allen
512fac4a21
Add unsafe_formatting option
10 роки тому
John R. Daily
cf5b39c64f
Severities must be convertible to numbers
10 роки тому
John R. Daily
9cc4abc366
Support _unsafe message levels that dodge trunc_io
10 роки тому
Mark Allen
466384b8c2
Pin goldrush to 0.1.7 release
Goldrush 0.1.7 provides for additional comparison operators in traces.
10 роки тому
pvmart
8bc6408ec0
fix lager:stop_trace
Fix stop_trace_int so it can remove an event handler
10 роки тому
Mark Allen
9879bcc201
Remove tabs that snuck in last commit
10 роки тому
Mark Allen
b4ab51912a
Merge branch 'master' of https://github.com/ericliang/lager into intg
10 роки тому
Mark Allen
d6cb3bf99f
Merge branch 'master' of https://github.com/saleyn/lager into intg
10 роки тому
Mark Allen
80eed725be
Merge branch 'feature/ranch-support' of https://github.com/soundrop/lager into intg
10 роки тому
Mark Allen
31cf6c02a9
Check configuration as suggested in gh#253
Previously bad configurations would be
silently ignored. Now they will throw
an error tuple.
10 роки тому
Mark Allen
1c550985ef
Merge branch 'pr/compress_records' of https://github.com/platbox/lager into intg
10 роки тому
Mark Allen
d06a8f3017
Merge branch 'master' of https://github.com/MaximMinin/lager into intg
10 роки тому
Mark Allen
5fef54c289
Comma derp
10 роки тому
Mark Allen
52b52aac17
Merge branch 'dz-groupleader-strategies' of https://github.com/DeadZen/lager into intg
10 роки тому
Mark Allen
d40ddd01ce
Merge branch 'feature/otp-17' into intg
10 роки тому
Mark Allen
3223014933
Use Meta as a better var name to capture intent
10 роки тому
Mark Allen
30a5010990
Silence some compiler warnings during tests
10 роки тому