diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/world/logging.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/world/logging.lux b/stdlib/source/library/lux/world/logging.lux index 6f58fd134..1baf1eedb 100644 --- a/stdlib/source/library/lux/world/logging.lux +++ b/stdlib/source/library/lux/world/logging.lux @@ -26,7 +26,7 @@ (All (_ !) (-> Text (Logger !) (! (Try Any)))) - (at it log (terminal.with <foreground> + (of it log (terminal.with <foreground> (%.format <prefix> message))))] ["[ERROR] " error terminal.red_foreground] @@ -42,7 +42,7 @@ (implementation (def log (|>> scope - (at it log))))) + (of it log))))) (def .public (timed ! now it) (All (_ !) @@ -52,7 +52,7 @@ (def (log message) (do ! [now (now [])] - (at it log (%.format (terminal.with terminal.green_foreground + (of it log (%.format (terminal.with terminal.green_foreground (%.format "[" (%.instant now) "]")) " " message)))))) |