mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-22 12:24:25 +00:00
writes log
This commit is contained in:
parent
73f0ca5a2f
commit
1c4427af53
@ -194,7 +194,7 @@ func (wt *WebTTY) handleMasterReadEvent(data []byte, line *[]byte) error {
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "failed to marshal arguments map")
|
||||
}
|
||||
log.Printf("[wlog] %v\n", line)
|
||||
//log.Printf("[wlog] %v\n", line)
|
||||
log.Printf("[wlog] %s %s\n", utils.FormatWriteLog(line), string(argumentsByte))
|
||||
*line = nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user