Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions lib/resty/logger/socket.lua
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,7 @@ function _M.init(user_config)

flushing = false
exiting = false
connecting = false

connected = false
retry_connect = 0
retry_send = 0

Expand Down Expand Up @@ -548,10 +546,15 @@ function _M.log(msg)
return bytes
end

function _M.isconnected()
return connected,connecting
end

function _M.initted()
return logger_initted
end


_M.flush = _flush

return _M
Expand Down