aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/shared')
-rw-r--r--gamemode/shared/log.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/gamemode/shared/log.lua b/gamemode/shared/log.lua
index ad5da46..92bb349 100644
--- a/gamemode/shared/log.lua
+++ b/gamemode/shared/log.lua
@@ -10,7 +10,7 @@ log.debug = fn.compose(
),
fn.curry(
string.format,
- "[DEBUG] %s"
+ "[DEBUG] %s\n"
)
)
@@ -21,7 +21,7 @@ log.info = fn.compose(
),
fn.curry(
string.format,
- "[INFO] %s"
+ "[INFO] %s\n"
)
)
@@ -30,10 +30,9 @@ log.warn = fn.compose(
MsgC,
col.console.yellow
),
- debug.traceback,
fn.curry(
- ErrorNoHalt,
- "[WARNING]"
+ string.format,
+ "[WARNING] %s\n"
)
)