fun log(tag: String, msg: String, data: Any? = null): Unit
Log a message.
Override logger in Socket.Option to change this.
logger
Default to stdout.
stdout
tag - Message tag
tag
msg - Message
msg
data - An object that will be appended to the message, toString() will be called on data.
data
toString()