aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/debug.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/debug.lux6
1 files changed, 6 insertions, 0 deletions
diff --git a/stdlib/source/lux/debug.lux b/stdlib/source/lux/debug.lux
index c537148c8..088504f2d 100644
--- a/stdlib/source/lux/debug.lux
+++ b/stdlib/source/lux/debug.lux
@@ -298,3 +298,9 @@
(wrap (list (` ("lux in-module"
(~ (code.text module))
(~ (code.identifier definition))))))))
+
+(def: #export (log! message)
+ {#.doc (doc "Logs message to standard output."
+ "Useful for debugging.")}
+ (-> Text Any)
+ ("lux io log" message))