func (l *AuditLog) PostSessionChunk(sid session.ID, reader io.Reader) error {
	sl, err := l.LoggerFor(sid)
	if err != nil {
		log.Warnf("audit.log: no session writer for %s", sid)
		return nil
	}
	tmp, err := utils.ReadAll(reader, 16*1024)
	_, err = sl.Write(tmp)
	if err != nil {
		return trace.Wrap(err)
	}
	return nil
}
// PostSessionChunk writes a new chunk of session stream into the audit log
PostSessionChunk writes a new chunk of session stream into the audit log
// PostSessionChunk writes a new chunk of session stream into the audit log
func (l *AuditLog) PostSessionChunk(sid session.ID, reader io.Reader) error {
	sl, err := l.LoggerFor(sid)
	if err != nil {
		log.Warnf("audit.log: no session writer for %s", sid)
		return nil
	}
	tmp, err := utils.ReadAll(reader, 16*1024)
	_, err = sl.Write(tmp)
	if err != nil {
		return trace.Wrap(err)
	}
	return nil
}
func ( l * AuditLog ) PostSessionChunk ( sid session . ID , reader io . Reader ) error { sl , err := l . LoggerFor ( sid ) if err != nil { log . Warnf ( " " , sid ) return nil } tmp , err := utils . ReadAll ( reader , 16 * 1024 ) _ , err = sl . Write ( tmp ) if err != nil { return trace . Wrap ( err ) } return nil }
PostSessionChunk writes a new chunk of session stream into the audit log
PostSessionChunk writes a new chunk of session stream into the audit log