MCPcopy
hub / github.com/parse-community/parse-server / log

Method log

src/Controllers/LoggerController.js:113–126  ·  view source on GitHub ↗
(level, args)

Source from the content-addressed store, hash-verified

111 }
112
113 log(level, args) {
114 // make the passed in arguments object an array with the spread operator
115 args = this.maskSensitive([...args]);
116 args = [].concat(
117 level,
118 args.map(arg => {
119 if (typeof arg === 'function') {
120 return arg();
121 }
122 return arg;
123 })
124 );
125 this.adapter.log.apply(this.adapter, args);
126 }
127
128 info() {
129 return this.log('info', arguments);

Callers 6

infoMethod · 0.95
errorMethod · 0.95
warnMethod · 0.95
verboseMethod · 0.95
debugMethod · 0.95
sillyMethod · 0.95

Calls 1

maskSensitiveMethod · 0.95

Tested by

no test coverage detected