Skip to content

Commit

Permalink
change: logging level (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianbayne committed Nov 12, 2020
1 parent c8f8911 commit 5035a5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bridgetown-core/lib/bridgetown-core/utils/ruby_exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ def search_data_for_ruby_code(convertible, renderer)
v.each do |nested_k, nested_v|
next unless nested_v.is_a?(Rb)

Bridgetown.logger.warn("Executing inline Ruby…", convertible.relative_path)
Bridgetown.logger.debug("Executing inline Ruby…", convertible.relative_path)
convertible.data[k][nested_k] = run(nested_v, convertible, renderer)
Bridgetown.logger.warn("Inline Ruby completed!", convertible.relative_path)
Bridgetown.logger.debug("Inline Ruby completed!", convertible.relative_path)
end
else
Bridgetown.logger.warn("Executing inline Ruby…", convertible.relative_path)
Bridgetown.logger.debug("Executing inline Ruby…", convertible.relative_path)
convertible.data[k] = run(v, convertible, renderer)
Bridgetown.logger.warn("Inline Ruby completed!", convertible.relative_path)
Bridgetown.logger.debug("Inline Ruby completed!", convertible.relative_path)
end
end
end
Expand Down

0 comments on commit 5035a5c

Please sign in to comment.