zoukankan      html  css  js  c++  java
  • palmlog

    \SDK\bin\palm-log.bat

    参数:

    Usage: palm-log [OPTION...] [APP_ID]
    Display application logs from a Palm device.

    Options:
    -d, --device=DEVICE         # specify DEVICE to use
    -l, --list                  # list the installed applications
    -f, --follow                # follow the log output (use Ctrl-C to terminate)
        --version               # display version info and exit
        --help                  # display this help and exit

    APP_ID is the id of the application for which logs are shown.

    DEVICE is a unique device id, "usb" for any usb-connected device, or "tcp" for
    the emulator (must be running). If not specified, the first device found is used
    .

    Examples:

    # Display logs for app
    palm-log com.example.app

    # Follow logs for app
    palm-log -f com.example.app

    # List applications on default device
    palm-log -l

    # List applications on usb-connected device
    palm-log -d usb -l

    # List applications on emulator
    palm-log -d tcp -l

    软件调试的好东西 显示程序中Mojo.Log.info()的信息 比dbug方便多了

    emulator上好用

    我用palm-log -d usb -f com.xxx.xxx命令 显示已经连接 但是log没有显示:

    D:\PalmPre\SDK\bin>palm-log -f -d usb com.xxx.xxx
    connecting to device castle-linux (4A1E4A93ACA8
    3551)2971445779
    following logs for application com.xxx.xxx

  • 相关阅读:
    Kafka Eagle安装
    CentOS下OpenJDK设置JAVA_HOME
    设计模式:解释器模式
    Typora主题推荐
    SpringMVC的<mvc:annotation-driven />
    SpringMVC的视图解析器
    数字化营销
    《计算广告》第二版思维导图
    舆情计算
    实时数仓
  • 原文地址:https://www.cnblogs.com/tiechui/p/1802601.html
Copyright © 2011-2022 走看看