diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-12-30 08:55:49 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-12-30 08:55:49 +0100 |
| commit | 24e3bfa168250a99d5543b7c6604af9f11a4d2b6 (patch) | |
| tree | 5876cc2bcdada9c9dfd57e4ce3413298529ca1b0 /parser_test.lua | |
| parent | d71124b460ae338da69ae8dac694a18a639bb0fa (diff) | |
| download | vis-lspc-24e3bfa168250a99d5543b7c6604af9f11a4d2b6.tar.gz vis-lspc-24e3bfa168250a99d5543b7c6604af9f11a4d2b6.zip | |
lazily initialize the default logger
In order for the user to configure the logging behavior the values
of lspc.logging and lspc.log_file must be evaluated after vis-lspc
was required.
To lazily evaluate the logging configuration a new
LazyInitLogger metatable is introduced, which initializes the
actual logger on first use.
Fixes: 1bd1416c89f92f637ca5e22c94b3479f8d32f2d7
Diffstat (limited to 'parser_test.lua')
0 files changed, 0 insertions, 0 deletions
