Package org.vrspace.server.dto
Class Log
java.lang.Object
org.vrspace.server.dto.Log
- All Implemented Interfaces:
Command
Browsers on mobile devices do not have javscript console, and USB debugging
is next to useless. So they can send log messages to the server using this
command.
- Author:
- joe
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
execute
(WorldManager manager, Client client) Log messageSeverity: debug, info, warn, errorint
hashCode()
void
setMessage
(String message) Log messagevoid
setSeverity
(String severity) Severity: debug, info, warn, errortoString()
-
Constructor Details
-
Log
public Log()
-
-
Method Details
-
execute
public ClientResponse execute(WorldManager manager, Client client) throws ClassNotFoundException, SessionException - Specified by:
execute
in interfaceCommand
- Throws:
ClassNotFoundException
SessionException
-
getMessage
Log message -
getSeverity
Severity: debug, info, warn, error -
setMessage
Log message -
setSeverity
Severity: debug, info, warn, error -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-