summaryrefslogtreecommitdiffstats
path: root/tapset/builtin_log.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/builtin_log.stp')
-rw-r--r--tapset/builtin_log.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tapset/builtin_log.stp b/tapset/builtin_log.stp
new file mode 100644
index 00000000..2932d66e
--- /dev/null
+++ b/tapset/builtin_log.stp
@@ -0,0 +1,7 @@
+function _log (msg) %{
+ _stp_log (THIS->msg);
+%}
+
+function log (msg) {
+ return 0 + _log (msg . "")
+}