xiongmao86
V2EX  ›  问与答

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

  •  
  •   xiongmao86 · Jan 18, 2015 · 2800 views
    This topic created in 4131 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   ·   1002 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 22:17 · PVG 06:17 · LAX 15:17 · JFK 18:17
    ♥ Do have faith in what you're doing.