Skip to content

Commit

Permalink
Add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Mar 2, 2025
1 parent 7c376a1 commit 0ca3958
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sea-streamer-redis/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,12 @@ impl RedisManager {
cmd.arg(count);
}

log::debug!("XRANGE");
log::debug!(
"XRANGE: {} {} {}",
key.name(),
start.format(ts_fmt),
end.format(ts_fmt)
);
match conn.req_packed_command(&cmd).await {
Ok(value) => {
let messages = StreamRangeReply::from_redis_value(value, key, ts_fmt, msg)?.0;
Expand Down

0 comments on commit 0ca3958

Please sign in to comment.