Class LogWebSocket
java.lang.Object
org.openhab.core.io.websocket.log.LogWebSocket
- All Implemented Interfaces:
EventListener
,org.osgi.service.log.LogListener
@WebSocket
@NonNullByDefault
public class LogWebSocket
extends Object
implements org.osgi.service.log.LogListener
The
LogWebSocket
is the WebSocket implementation for logs- Author:
- Jan N. Klug - Initial contribution
-
Constructor Details
-
LogWebSocket
-
-
Method Details
-
onClose
-
onConnect
@OnWebSocketConnect public void onConnect(org.eclipse.jetty.websocket.api.Session session) -
onText
-
onError
@OnWebSocketError public void onError(org.eclipse.jetty.websocket.api.Session session, @Nullable Throwable error) -
logged
public void logged(@NonNullByDefault({}) org.osgi.service.log.LogEntry logEntry) - Specified by:
logged
in interfaceorg.osgi.service.log.LogListener
-