snaky
6d7d1cc11d
Specify node in the default formatter
pirms 12 gadiem
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".
pirms 12 gadiem
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.
pirms 12 gadiem
Andrew Thompson
12a784b18e
Time makes fools of us all
pirms 12 gadiem
Andrew Thompson
277dafa9ad
Adjust documentation
pirms 12 gadiem
Andrew Thompson
cf4b3dcba9
Licencing headers
pirms 13 gadiem
Andrew Thompson
05718792ae
Whitespace cleanups
pirms 13 gadiem
Andrew Thompson
82eda718f2
Update the console backend to use new default formatter for verbose mode
pirms 13 gadiem
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.
pirms 13 gadiem
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.
pirms 13 gadiem