[tor-bugs] #28940 [Obfuscation/Pluggable transport]: Add support for LOG to goptlib
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Thu Feb 14 21:16:27 UTC 2019
    
    
  
#28940: Add support for LOG to goptlib
---------------------------------------------+-----------------------------
 Reporter:  dcf                              |          Owner:  dcf
     Type:  enhancement                      |         Status:  merge_ready
 Priority:  Medium                           |      Milestone:
Component:  Obfuscation/Pluggable transport  |        Version:
 Severity:  Normal                           |     Resolution:
 Keywords:  goptlib                          |  Actual Points:
Parent ID:                                   |         Points:  0.3
 Reviewer:                                   |        Sponsor:  Sponsor19
---------------------------------------------+-----------------------------
Comment (by dcf):
 Replying to [comment:10 ahf]:
 > I lifted out the logger and the STATUS API into a `goptlibext` package
 at https://github.com/ahf/goptlibext
 Would it help if I exposed the [https://gitweb.torproject.org/pluggable-
 transports/goptlib.git/tree/pt.go?h=v1.0.0#n262 pt.line function]? It's
 what's used internally to provide all the line-oriented output for other
 functions like `pt.Cmethod` and `pt.ProxyDone`. Or is writing to
 `pt.Stdout` good enough for your purposes?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28940#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list