author | Anton Epple <toni.epple@eppleton.de> |
Sun, 08 Sep 2013 10:58:10 +0200 | |
branch | canvas |
changeset 1267 | 0f775bd8d210 |
parent 1158 | 633572e14095 |
child 1296 | 6fed3663b751 |
permissions | -rw-r--r-- |
1 /*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
5 package org.apidesign.bck2brwsr.htmlpage;
7 import org.apidesign.bck2brwsr.core.JavaScriptBody;
9 /**
10 *
11 * @author antonepple
12 */
13 public class Logger {
15 @JavaScriptBody(args = "message",body = "console.log(message)")
16 public static native void log(String text);
18 @JavaScriptBody(args = "object",body = "console.log(object)")
19 public static native void logObject(Object object);
21 }