Index: sky/framework/inspector/debug.sky |
diff --git a/sky/framework/inspector/debug.sky b/sky/framework/inspector/debug.sky |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1a33fff5dce6ec4723704ed57e032ee3e17a8f82 |
--- /dev/null |
+++ b/sky/framework/inspector/debug.sky |
@@ -0,0 +1,16 @@ |
+<script> |
+function logParams(name, params) { |
+ console.log(name + "(" + JSON.stringify(params, null, " ") + ")"); |
+} |
+ |
+function loggingStub(name) { |
+ return function(params) { |
+ logParams(name, params); |
+ } |
+} |
+ |
+this.exports = { |
+ logParams: logParams, |
+ loggingStub: loggingStub, |
+} |
+</script> |