Skip to content

Commit 9ed77c8

Browse files
committed
maint(pat-validation): Rename log to logger for better naming.
1 parent 5f3076c commit 9ed77c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pat/validation/validation.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import events from "../../core/events";
77
import logging from "../../core/logging";
88
import utils from "../../core/utils";
99

10-
const log = logging.getLogger("pat-validation");
11-
//log.setLevel(logging.Level.DEBUG);
10+
const logger = logging.getLogger("pat-validation");
11+
//logger.setLevel(logging.Level.DEBUG);
1212

1313
export const parser = new Parser("validation");
1414
parser.addArgument("disable-selector", "[type=submit], button:not([type=button])"); // Elements which must be disabled if there are errors
@@ -121,7 +121,7 @@ export default Base.extend({
121121
return;
122122
}
123123

124-
log.debug(`
124+
logger.debug(`
125125
validity_state.badInput ${validity_state.badInput}
126126
validity_state.customError ${validity_state.customError}
127127
validity_state.patternMismatch ${validity_state.patternMismatch}

0 commit comments

Comments
 (0)