mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
17 lines
296 B
Plaintext
17 lines
296 B
Plaintext
<script>
|
|
function logParams(name, params) {
|
|
console.log(name + "(" + JSON.stringify(params, null, " ") + ")");
|
|
}
|
|
|
|
function loggingStub(name) {
|
|
return function(params) {
|
|
logParams(name, params);
|
|
}
|
|
}
|
|
|
|
module.exports = {
|
|
logParams: logParams,
|
|
loggingStub: loggingStub,
|
|
}
|
|
</script>
|