Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
log4javascript
==============
# log4javascriptls

http://log4javascript.org
This is a fork of log4javascript npm package. See http://log4javascript.org for the original project.

It contains the log4javascript lib prepared to be used with npm.
## Browser compatibility

Unfortunately, the npm package 1.4.15 still contains log4javascript 1.4.13.
It was necessary to increase the version since the new package contains also TypeScript definitions.
This project follows the default settings of [Browserslist](https://github.com/browserslist/browserslist). As of August 2019, the probably oldest supported browser is Internet Explorer 11.
7 changes: 5 additions & 2 deletions js/log4javascript.js

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions js/log4javascript_uncompressed.js
Original file line number Diff line number Diff line change
Expand Up @@ -3376,6 +3376,10 @@
' }',
' }',
'',
' function appendLocalStorage() {',
' evalCommand("localStorage");',
' }',
'',
' var mainWindow = window;',
' var windowId = "log4javascriptConsoleWindow_" + new Date().getTime() + "_" + ("" + Math.random()).substr(2);',
'',
Expand Down Expand Up @@ -4613,6 +4617,7 @@
' <input type="button" id="clearButton" value="Clear" onclick="clearLog()" class="button" title="Clear all log messages" />',
' <input type="button" id="hideButton" value="Hide" onclick="hide()" class="hidden button" title="Hide the console" />',
' <input type="button" id="closeButton" value="Close" onclick="closeWindow()" class="hidden button" title="Close the window" />',
' <input type="button" id="appendLocalStorage" value="Append localStorage" onclick="appendLocalStorage()" class="button" title="Append localStorage" />',
' </div>',
' </div>',
' </div>',
Expand Down Expand Up @@ -4827,6 +4832,10 @@
queuedLoggingEvents.push(new QueuedGroupEnd());
checkAndAppend();
}
};

this.getQueuedLoggingEvents = function() {
return queuedLoggingEvents;
};

var appendQueuedLoggingEvents = function() {
Expand Down
7 changes: 5 additions & 2 deletions log4javascript.js

Large diffs are not rendered by default.

24 changes: 11 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
{
"name": "log4javascript",
"title": "log4javascript",
"version": "1.4.15",
"name": "log4javascriptls",
"title": "log4javascript with localStoarge",
"version": "1.4.17",
"author": {
"name": "Tim Down",
"email": "tim@log4javascript.org",
"homepage": "http://log4javascript.org/"
"name": "Xaver Fleer",
"email": "xaver.fleer@gmail.com"
},
"main": "./log4javascript.js",
"description": "log4javascript",
"description": "log4javascript with localStorage",
"keywords": [
"log4javascript",
"log4javascriptWithLocalStorage",
"logging",
"js",
"json"
"js"
],
"license": "Apache License, Version 2.0",
"repository": {
"type": "git",
"url": "https://github.com/Ritzlgrmft/log4javascript.git"
},
"typings": "log4javascript.d.ts"
"url": "https://github.com/xaverfleer/log4javascript-get-queued-logging-events"
}
}