synchronizable events
This commit is contained in:
@@ -26,6 +26,7 @@ Defines a logger with topic @racket['id] and creates:
|
||||
@item{@racket[warn-id]}
|
||||
@item{@racket[err-id]}
|
||||
@item{@racket[fatal-id]}
|
||||
@item{@racket[sync-id]}
|
||||
]
|
||||
|
||||
Note. If name is given, id @racket[dbg-prefix], etc. will be generated instead of @racket[dbg-id], etc.
|
||||
@@ -150,5 +151,7 @@ creates:
|
||||
(err-my-module [msg string?] [arg any/c] ...) void?]{Error log.}
|
||||
@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.}
|
||||
|
||||
All use @racket[format] and emit asynchronously.
|
||||
All, except for @racket[sync-my-module] use @racket[format] and emit asynchronously.
|
||||
|
||||
Reference in New Issue
Block a user