Skip to content

Commit 55f3328

Browse files
committed
Simplified logger method signatures
1 parent 85cd1f5 commit 55f3328

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/framework/logger/logger.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@
2020
return service;
2121
/////////////////////
2222

23-
function log(message, data /*, title*/) {
24-
$log.log('log: ' + message, data);
23+
function log(message) {
24+
$log.log('log: ' + message);
2525
}
2626

27-
function info(message, data /*, title*/) {
28-
$log.info('info: ' + message, data);
27+
function info(message) {
28+
$log.info('info: ' + message);
2929
}
3030

31-
function warn(message, data /*, title*/) {
32-
$log.warn('warn: ' + message, data);
31+
function warn(message) {
32+
$log.warn('warn: ' + message);
3333
}
3434

35-
function error(message, data /*, title*/) {
36-
$log.error('error: ' + message, data);
35+
function error(message) {
36+
$log.error('error: ' + message);
3737
}
3838

39-
function debug(message, data /*, title*/) {
40-
$log.debug('debug: ' + message, data);
39+
function debug(message) {
40+
$log.debug('debug: ' + message);
4141
}
4242
}
4343
}());

0 commit comments

Comments
 (0)