xiongmao86
V2EX  ›  问与答

为什么这么写啊? class Logging(type(sys)) @phuslu

  •  
  •   xiongmao86 · Jan 18, 2015 · 2839 views
    This topic created in 4145 days ago, the information mentioned may be changed or developed.
    @phuslu ,我在看你的proxy.py,为什么要这么写,单纯为了替换python本身的logging吗?
    1 replies    2015-01-19 19:11:14 +08:00
    xiongmao86
        1
    xiongmao86  
    OP
       Jan 19, 2015
    @phuslu 是为了改变proxylib中使用的logging模块吗?irc上说好像可以自定义一个handler或者formatter来扩展代码?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6026 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 02:58 · PVG 10:58 · LAX 19:58 · JFK 22:58
    ♥ Do have faith in what you're doing.