mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Make plugin output less verbose
This commit is contained in:
parent
d53ffd8da2
commit
ed6d8415bd
1 changed files with 6 additions and 6 deletions
|
|
@ -85,13 +85,13 @@ function App:render()
|
|||
children = {
|
||||
ConnectPanel = e(ConnectPanel, {
|
||||
startSession = function(address, port)
|
||||
Logging.info("Starting new session")
|
||||
Logging.trace("Starting new session")
|
||||
|
||||
self.currentSession = Session.new({
|
||||
address = address,
|
||||
port = port,
|
||||
onError = function()
|
||||
Logging.info("Session terminated")
|
||||
Logging.trace("Session terminated")
|
||||
self.currentSession = nil
|
||||
|
||||
self:setState({
|
||||
|
|
@ -105,7 +105,7 @@ function App:render()
|
|||
})
|
||||
end,
|
||||
cancel = function()
|
||||
Logging.info("Canceling session configuration")
|
||||
Logging.trace("Canceling session configuration")
|
||||
|
||||
self:setState({
|
||||
sessionStatus = SessionStatus.Disconnected,
|
||||
|
|
@ -132,17 +132,17 @@ function App:didMount()
|
|||
checkUpgrade(self.props.plugin)
|
||||
|
||||
if self.state.sessionStatus == SessionStatus.Connected then
|
||||
Logging.info("Disconnecting session")
|
||||
Logging.trace("Disconnecting session")
|
||||
|
||||
error("NYI")
|
||||
elseif self.state.sessionStatus == SessionStatus.Disconnected then
|
||||
Logging.info("Starting session configuration")
|
||||
Logging.trace("Starting session configuration")
|
||||
|
||||
self:setState({
|
||||
sessionStatus = SessionStatus.Configuring,
|
||||
})
|
||||
elseif self.state.sessionStatus == SessionStatus.Configuring then
|
||||
Logging.info("Canceling session configuration")
|
||||
Logging.trace("Canceling session configuration")
|
||||
|
||||
self:setState({
|
||||
sessionStatus = SessionStatus.Disconnected,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue