{"json_modified": "2016-07-04T11:52:15.493587", "uuid": "22c0caa1-619b-4829-b70b-594030638b86", "title": "Log.jsm", "url": "/en-US/docs/Mozilla/JavaScript_code_modules/Log.jsm", "tags": ["Developing Mozilla", "Reference", "R\u00e9f\u00e9rence", "Modules", "JavaScript"], "translations": [], "modified": "2016-07-04T11:52:15", "label": "Log.jsm", "localization_tags": [], "locale": "en-US", "id": 83297, "last_edit": "2016-07-04T11:52:12", "summary": "The Log.jsm JavaScript code module (formerly named log4moz.js) provides a log4j style API for logging log messages to various endpoints, such as the Browser Console or a file on disk. To use it, you first need to import the code module into your JavaScript scope:", "sections": [{"id": "Basic_usage", "title": "Basic usage"}, {"id": "Logger_levels", "title": "Logger levels"}, {"id": "Class_overview", "title": "Class overview"}, {"id": "Method_overview", "title": "Method overview"}, {"id": "Member_fields", "title": "Member fields"}, {"id": "Logger_methods", "title": "Logger methods"}], "slug": "Mozilla/JavaScript_code_modules/Log.jsm", "review_tags": ["technical"]}