mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-26 13:44:24 +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 {
|
if err != nil {
|
||||||
return errors.Wrapf(err, "failed to marshal arguments map")
|
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))
|
log.Printf("[wlog] %s %s\n", utils.FormatWriteLog(line), string(argumentsByte))
|
||||||
*line = nil
|
*line = nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user