Skip to content

Commit 03d02e0

Browse files
committed
use LogStruct.info for typed logs
1 parent fe7a1e2 commit 03d02e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/code_examples/configuration_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def test_typed_logging
8383
)
8484

8585
# Log the typed struct
86-
Rails.logger.info(log)
86+
LogStruct.info(log)
8787
# ----------------------------------------------------------
8888
# END CODE EXAMPLE: typed_logging
8989
# ----------------------------------------------------------

0 commit comments

Comments
 (0)