changed name for sync function definition

This commit is contained in:
2026-04-20 16:29:21 +02:00
parent 59069b845b
commit 0ba5449492
2 changed files with 3 additions and 3 deletions

View File

@@ -182,7 +182,7 @@
[warn-name (format-id #'id "warn-~a" #'prefix)]
[err-name (format-id #'id "err-~a" #'prefix)]
[fatal-name (format-id #'id "fatal-~a" #'prefix)]
[sync-name (format-id #'id "sync-~a" #'prefix)]
[sync-name (format-id #'id "sync-log-~a" #'prefix)]
)
#'(def-log2 id parent receiver log-callbacks dbg-name info-name warn-name err-name fatal-name sync-name)
)

View File

@@ -152,6 +152,6 @@ creates:
@defproc[#:link-target? #f
(fatal-my-module [msg string?] [arg any/c] ...) void?]{Fatal log.}
@defproc[#:link-target? #f
(sync-my-module) void?]{Puts a sync message to the logger and waits for the receiver until it logs this synchronization event.}
(sync-log-my-module) void?]{Puts a sync message to the logger and waits for the receiver until it logs this synchronization event.}
All, except for @racket[sync-my-module] use @racket[format] and emit asynchronously.
All, except for @racket[sync-log-my-module] use @racket[format] and emit asynchronously.