summaryrefslogtreecommitdiff
path: root/reallog.go
diff options
context:
space:
mode:
Diffstat (limited to 'reallog.go')
-rw-r--r--reallog.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/reallog.go b/reallog.go
index 5a172b2..0f6bc33 100644
--- a/reallog.go
+++ b/reallog.go
@@ -36,6 +36,14 @@ func realPrintf(s string, a ...any) {
}
}
+func realSprintf(s string, a ...any) string {
+ return fmt.Sprintf(s, a...)
+}
+
+func realSprintln(s string, a ...any) string {
+ return fmt.Sprintf(s, a...) + "\n"
+}
+
func realFatalln(a ...any) {
reallog.Fatalln(a...)
}