This is to avoid long block buffering of log messages, which would
causes the log messages to be delayed, which is likely to confuse
users attempting to follow the logs in real time (see:
https://lists.gnu.org/archive/html/guile-devel/2024-01/msg0.html).
* src/logging/logger.scm (accept-log):
* unit-tests/update-api: Replace /bin/bash with /bin/sh.
---
unit-tests/update-api | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unit-tests/update-api b/unit-tests/update-api
index 8824c3f..392ce8b 100755
--- a/unit-tests/update-api
+++ b/unit-tests/update-api
@@ -1,4 +1,4
Note: this changes the API of the `accept-log' method by adding a new
positional argument to it. `accept-log' is a "weak" public
interface (mostly intended for internal uses or logging handler
implementors), so this is deemed acceptable.
* src/logging/logger.scm (log-helper) [source-properties]:
The file was regenerated by running 'make -C unit-tests
guile-library.api.update'.
* unit-tests/guile-library.api: Regenerate.
---
unit-tests/guile-library.api | 239 +--
1 file changed, 5 insertions(+), 234 deletions(-)
diff --git a/unit-tests/guile-library.api
The main change of this series is adding the ability to pass source
properties (such as can be obtained via syntax-source in macros) to
the `log-msg' call, and have the default log formatter use it to
display the source location of the corresponding call.
It also fixes a few minor issues spotted
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 7171296..e8f1bba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,7 @@ dnl distcheck' are aware it is a wip version.
AC_INIT(
[guile-lib],
[0.2.7],
-
The log level is always in uppercase, and its surrounding parentheses
are dropped.
* src/logging/logger.scm (default-log-formatter): Uppercase level and
strip its surrounding parens.
* unit-tests/logging.logger.scm: Adjust expected output accordingly.
---
src/logging/logger.scm| 6
* unit-tests/update-api: Replace /bin/bash with /bin/sh.
---
(no changes since v1)
unit-tests/update-api | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unit-tests/update-api b/unit-tests/update-api
index 8824c3f..392ce8b 100755
--- a/unit-tests/update-api
+++
Note: this changes the API of the `accept-log' method by adding a new
positional argument to it. `accept-log' is a "weak" public
interface (mostly intended for internal uses or logging handler
implementors), so this is deemed acceptable.
* src/logging/logger.scm (log-helper) [source-properties]:
The main change of this series is adding the ability to pass source
properties (such as can be obtained via syntax-source in macros) to
the `log-msg' call, and have the default log formatter use it to
display the source location of the corresponding call.
It also fixes a few minor issues spotted
---
(no changes since v1)
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 7171296..e8f1bba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,7 @@ dnl distcheck' are aware it is a wip version.
AC_INIT(
[guile-lib],
This is to avoid long block buffering of log messages, which would
causes the log messages to be delayed, which is likely to confuse
users attempting to follow the logs in real time (see:
https://lists.gnu.org/archive/html/guile-devel/2024-01/msg0.html).
* src/logging/logger.scm (accept-log):
The log level is always in uppercase, and its surrounding parentheses
are dropped.
* src/logging/logger.scm (default-log-formatter): Uppercase level and
strip its surrounding parens.
* unit-tests/logging.logger.scm: Adjust expected output accordingly.
---
(no changes since v1)
The file was regenerated by running 'make -C unit-tests
guile-library.api.update'.
* unit-tests/guile-library.api: Regenerate.
---
(no changes since v1)
unit-tests/guile-library.api | 239 +--
1 file changed, 5 insertions(+), 234 deletions(-)
diff --git
Jonas Hahnfeld via "Developers list for Guile, the GNU extensibility library"
writes:
> On Tue, 2023-11-28 at 22:04 +0100, Jonas Hahnfeld wrote:
>> On Sun, 2023-10-29 at 22:34 +0100, Jonas Hahnfeld wrote:
>> > I would like to propose a different approach: It turns out to be
>> > possible to
15 matches
Mail list logo