about summary refs log tree commit diff stats
path: root/source.lua
diff options
context:
space:
mode:
Diffstat (limited to 'source.lua')
-rw-r--r--source.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/source.lua b/source.lua
index cab4512..b4489e1 100644
--- a/source.lua
+++ b/source.lua
@@ -113,6 +113,11 @@ function source.initialize_edit_side()
   end
 end
 
+function print_and_log(s)
+  print(s)
+  log(3, s)
+end
+
 function source.load_settings()
   local settings = Settings.source
   love.graphics.setFont(love.graphics.newFont(settings.font_height))