lxyyzm
V2EX  ›  Java

哪个语言输出 log 最简单, Java 的 system.out.println 好啰嗦

  •  
  •   lxyyzm · Feb 10, 2017 · 4126 views
    This topic created in 3399 days ago, the information mentioned may be changed or developed.
    10 replies    2017-04-18 07:25:56 +08:00
    WorthyZhang
        1
    WorthyZhang  
       Feb 11, 2017
    我来一个, ruby 用 puts
    dontwanttologin
        2
    dontwanttologin  
       Feb 11, 2017
    Ruby 还有更简单的, p
    forreal
        3
    forreal  
       Feb 11, 2017
    idea 可以使用 live template
    mingl0280
        4
    mingl0280  
       Feb 11, 2017
    cout<<
    fout<<
    skaterfirefox
        5
    skaterfirefox  
       Feb 11, 2017
    js 好麻烦 console.log 居然是控制台,网页上是 document.write
    zhx1991
        6
    zhx1991  
       Feb 11, 2017
    关键是没人用 print 打 log...
    yidinghe
        7
    yidinghe  
       Feb 11, 2017
    日志还是要用框架。

    ![]( )
    AltairT
        8
    AltairT  
       Feb 11, 2017   ❤️ 1
    用开源 LOG 库,不过 Java 不是敲 syso 就出来提示了吗?
    eyp82
        9
    eyp82  
       Apr 18, 2017
    @yidinghe 请问你这截图用的什么插件 /功能? 貌似敲几个字母你的 IDE 就能自动帮你生成一行预先存好的代码?
    yidinghe
        10
    yidinghe  
       Apr 18, 2017 via Android
    @eyp82 代码模板啊,主流 IDE 都有
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1171 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 17:57 · PVG 01:57 · LAX 10:57 · JFK 13:57
    ♥ Do have faith in what you're doing.