V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
watzds
V2EX  ›  问与答

大家 Java 日志怎么打的?

  •  
  •   watzds · Mar 5, 2019 · 1519 views
    This topic created in 2613 days ago, the information mentioned may be changed or developed.
    很多 getLogger 都是按 package class 来的,看不出打印到哪个文件了,还得去查配置文件
    还有同一个类里要打印到多个文件也不方便

    甚至这个 Google 的 flogger 只有一个 forEnclosingClass 获 取当前 class 的 logger。https://github.com/google/flogger

    不知大家是怎么处理的?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1565 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 803ms · UTC 16:28 · PVG 00:28 · LAX 09:28 · JFK 12:28
    ♥ Do have faith in what you're doing.