Diffstat (limited to 'frontend/delta/js/Clipperz/Logging.js') (more/less context) (ignore whitespace changes)
-rw-r--r-- | frontend/delta/js/Clipperz/Logging.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/frontend/delta/js/Clipperz/Logging.js b/frontend/delta/js/Clipperz/Logging.js new file mode 100644 index 0000000..b6b806a --- a/dev/null +++ b/frontend/delta/js/Clipperz/Logging.js | |||
@@ -0,0 +1,32 @@ | |||
1 | /* | ||
2 | |||
3 | Copyright 2008-2013 Clipperz Srl | ||
4 | |||
5 | This file is part of Clipperz, the online password manager. | ||
6 | For further information about its features and functionalities please | ||
7 | refer to http://www.clipperz.com. | ||
8 | |||
9 | * Clipperz is free software: you can redistribute it and/or modify it | ||
10 | under the terms of the GNU Affero General Public License as published | ||
11 | by the Free Software Foundation, either version 3 of the License, or | ||
12 | (at your option) any later version. | ||
13 | |||
14 | * Clipperz is distributed in the hope that it will be useful, but | ||
15 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
17 | See the GNU Affero General Public License for more details. | ||
18 | |||
19 | * You should have received a copy of the GNU Affero General Public | ||
20 | License along with Clipperz. If not, see http://www.gnu.org/licenses/. | ||
21 | |||
22 | */ | ||
23 | |||
24 | Clipperz.Base.module('Clipperz'); | ||
25 | |||
26 | Clipperz.log = function () { | ||
27 | console.log.apply(console, arguments); | ||
28 | } | ||
29 | |||
30 | Clipperz.logError= Clipperz.log; | ||
31 | Clipperz.logWarning= Clipperz.log; | ||
32 | Clipperz.logDebug= Clipperz.log; \ No newline at end of file | ||