crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
41e1e48a
ROOT
/
common
/
debugio
/
log.go
Search
History
88 lines
|
ISO-8859-1
|
2 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
LogConn
N.ExtendedConn
logger
:
log.Logger
prefix
:
string
NewLogConn
(conn net.Conn, logger log.Logger, prefix string)
:
N.ExtendedConn
LogPacketConn
N.NetPacketConn
logger
:
log.Logger
prefix
:
string
NewLogPacketConn
(conn net.PacketConn, logger log.Logger, prefix string)
:
N.NetPacketConn
*LogConn
Read
(p []byte)
:
(n int, err error)
Write
(p []byte)
:
(n int, err error)
ReadBuffer
(buffer *buf.Buffer)
:
error
WriteBuffer
(buffer *buf.Buffer)
:
error
Upstream
()
:
any
*LogPacketConn
ReadFrom
(p []byte)
:
(n int, addr net.Addr, err error)
WriteTo
(p []byte, addr net.Addr)
:
(n int, err error)
ReadPacket
(buffer *buf.Buffer)
:
(destination M.Socksaddr, err error)
WritePacket
(buffer *buf.Buffer, destination M.Socksaddr)
:
error
All occurrences
Please wait...
Page is in error, reload to recover