From bea9f83c073790fe64d7b7f7eecbbfea4b34449e Mon Sep 17 00:00:00 2001 From: Wes Date: Thu, 19 Dec 2024 09:30:59 -0700 Subject: [PATCH] chore: change cron example to Debugf log --- examples/go/cron/cron.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/go/cron/cron.go b/examples/go/cron/cron.go index 6cf88d052..1c10eee78 100644 --- a/examples/go/cron/cron.go +++ b/examples/go/cron/cron.go @@ -8,12 +8,12 @@ import ( //ftl:cron 30s func ThirtySeconds(ctx context.Context) error { - ftl.LoggerFromContext(ctx).Infof("Frequent cron job triggered.") + ftl.LoggerFromContext(ctx).Debugf("Frequent cron job triggered.") return nil } //ftl:cron 0 * * * * func Hourly(ctx context.Context) error { - ftl.LoggerFromContext(ctx).Infof("Hourly cron job triggered.") + ftl.LoggerFromContext(ctx).Debugf("Hourly cron job triggered.") return nil }