Comments (3)
@alalamav I made a simple logger just filter out logs according to loglevel, feel free to create a more sophisticated logger (custom prefixs, coloring) and replace the default one by including it as a module.
from go-tun2socks.
Since go-tun2socks is a client program and has a relatively small logging footprint, I am not worried about the performance.
It's good to has leveled logging support, I am happy to see a PR for this feature. By defining our own logging interface, it should be quite easy to switch from one logging lib to another, we can further allow registering an external logger, so feel free to choose a handy one if you are going to create a PR :)
from go-tun2socks.
Awesome! I think this will suffice for now. Thanks for the quick implementation.
from go-tun2socks.
Related Issues (20)
- go-tun2socks能不能实现dns分流功能 HOT 3
- is some way to better detect DNS data? HOT 5
- ReceiveTo 请问如何能恢复完整报文? HOT 1
- Wasted layer of buffering and inneficciency HOT 7
- tun2socks crashed after adding the route table HOT 1
- Auth support for SOCKS5 HOT 2
- Improved version of the tun2socks HOT 30
- mac info failed to open tun device: invalid IP address HOT 1
- run core without linklayer HOT 1
- Go-lwIP may cause memory leak HOT 5
- 使用域名的http请求转化为socks5后变成了ip类型。
- Exe program can not automatically identify the network card name HOT 2
- 请问如何使用xgo编译成dll HOT 1
- UDP穿透请求参数好像有问题
- use with v2rayn and adguard home
- This is hopeless because I can't cross compile to build it! HOT 1
- 配置socks服务器为本地127.0.0.1时
- WIN7无报错但是不能正确转发给socks5服务器
- 有没有c++版本
- 请问为什么没有fakedns了?是有什么缺陷吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-tun2socks.