xiongmao86
V2EX  ›  问与答

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

  •  
  •   xiongmao86 · Jan 18, 2015 · 2960 views
    This topic created in 4199 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   ·   2780 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: ce1cc7fc · 31ms · UTC 02:44 · PVG 10:44 · LAX 19:44 · JFK 22:44
    ♥ Do have faith in what you're doing.