From ba74c0b0ce54d3fd1a2f05ec7c09ac2aa25337ee Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Wed, 13 Nov 2024 15:27:14 -0600 Subject: [PATCH] feat: Add name and frame count to movie loaded log --- internal/movie/flags.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/movie/flags.go b/internal/movie/flags.go index fa208fb..14c1241 100644 --- a/internal/movie/flags.go +++ b/internal/movie/flags.go @@ -94,6 +94,8 @@ func FromFlags(flags *flag.FlagSet, path string) (Movie, error) { } slog.Info("Movie loaded", + "name", movie.Filename, + "frames", len(movie.Frames), "duration", movie.Duration().Round(time.Second), "took", time.Since(start).Round(time.Microsecond), )