@@ -47,23 +47,23 @@ export class Connection {
4747 private traceSend ( packet : proto . ClientPacket ) {
4848 this . timestamps . push ( new Date ( ) ) ;
4949 if ( packet . type === 'greeting' ) {
50- console . debug ( `C>S` , packet ) ;
50+ console . debug ( `[CXXRTL] C>S` , packet ) ;
5151 } else if ( packet . type === 'command' ) {
52- console . debug ( `C>S#${ this . sendIndex ++ } ` , packet ) ;
52+ console . debug ( `[CXXRTL] C>S#${ this . sendIndex ++ } ` , packet ) ;
5353 }
5454 }
5555
5656 private traceRecv ( packet : proto . ServerPacket ) {
5757 if ( packet . type === 'greeting' ) {
58- console . debug ( `S>C` , packet ) ;
58+ console . debug ( `[CXXRTL] S>C` , packet ) ;
5959 } else if ( packet . type === 'response' ) {
6060 const elapsed = new Date ( ) . getTime ( ) - this . timestamps . shift ( ) ! . getTime ( ) ;
61- console . debug ( `S>C#${ this . recvIndex ++ } ` , packet , `(${ elapsed } ms)` ) ;
61+ console . debug ( `[CXXRTL] S>C#${ this . recvIndex ++ } ` , packet , `(${ elapsed } ms)` ) ;
6262 } else if ( packet . type === 'error' ) {
6363 this . timestamps . shift ( ) ;
64- console . error ( `S>C#${ this . recvIndex ++ } ` , packet ) ;
64+ console . error ( `[CXXRTL] S>C#${ this . recvIndex ++ } ` , packet ) ;
6565 } else if ( packet . type === 'event' ) {
66- console . debug ( `S>C` , packet ) ;
66+ console . debug ( `[CXXRTL] S>C` , packet ) ;
6767 }
6868 }
6969
0 commit comments