From a451eb5631204d361a9e281812d349eb28b3b5fd Mon Sep 17 00:00:00 2001 From: Aire-One Date: Thu, 27 Oct 2022 00:02:53 +0200 Subject: [PATCH] feat(lualogging): add new API from release 1.7.0 (#39) --- types/lualogging/logging.d.tl | 1 + 1 file changed, 1 insertion(+) diff --git a/types/lualogging/logging.d.tl b/types/lualogging/logging.d.tl index 57b9927..f19602f 100644 --- a/types/lualogging/logging.d.tl +++ b/types/lualogging/logging.d.tl @@ -47,6 +47,7 @@ local record logging new: function(append: function(self: Log, level: Level, msg: string | function), startLevel: Level): Log buildLogPatterns: function(patterns: table, default: string): table + date: function(format: string, time: integer | string): string defaultLogPatterns: function(patt: string | table): table defaultTimestampPattern: function(patt: string): string defaultLevel: function(level: Level): Level