Logging package in meteor
A fact which was not known to me until I checked what is included in the meteor-platform
package is that a default Logging
package is included.
A public Log
function is available for the default log level info
There are 4 log levels :
debug
info
warn
error
which can be used like so:
Log.debug("my log text");
Log.warn(
{atribute1: "attribute value",
attribute2: "etc..."});
There is no documentation and it is very basic but it works.
Written by Micha Roon
Related protips
1 Response
How can I set loglevel?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Related Tags
#meteor
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#