racket/collects/typed-racket/base-env
Matthew Flatt f2d870859a logging: allow name in `log-message', report it in a log-receiver evt
The synchronization result of a log receiver is now a vector of four
values, instead of three, where the last one reports the name.

Also, an optional argument to `make-logger' provides a notification
callback for each event sent to the logger.

These changes enable more control over loggers and events. Suppose
that you have processes A and B, and you want all log events of A
to be visible to B, but not vice-versa. Furthermore, you want the
log events to appear at B in the right order: if A logs an event
before B, then A's event should arrive at a log receiver's before
B's. Now that a log receiver gets the name associated with the
original event, and now that the name can be re-sent in a
`log-receiver', it's possible to give A and B separate loggers and
send all of the events from A's logger to B's logger. Furthermore,
you can use the notification callback so that when an event is logged
in B, you can make sure that all available events from from A's
logger have been transferred to B's logger.
2012-12-27 14:12:40 -06:00
..
annotate-classes.rkt Move typed-scheme to typed-racket collection. 2011-09-03 20:49:39 -04:00
base-contracted.rkt Fix default prompt tag type 2012-12-03 14:37:18 -05:00
base-env-indexing-abs.rkt Added `define-typed/untyped-identifier' to typed/untyped-utils 2012-11-16 10:52:56 -07:00
base-env-indexing.rkt Replaced infer-dummy with lazy-require. 2012-08-14 16:04:51 -04:00
base-env-numeric.rkt Fix types of variable arity functions to work with 0-argument return values. 2012-11-20 16:15:20 -05:00
base-env.rkt logging: allow name in `log-message', report it in a log-receiver evt 2012-12-27 14:12:40 -06:00
base-special-env.rkt Refactor and move a macro to a helper library 2012-11-30 17:37:33 -05:00
base-structs.rkt Cleanup builtin structs types. 2012-08-20 10:10:17 -04:00
base-types-extra.rkt Parse (Struct t) as StructTop. 2012-07-14 19:20:51 -04:00
base-types.rkt Rename control types to be consistent with other types 2012-11-30 17:37:33 -05:00
colon.rkt Delay actual initialization of type environment. 2012-07-12 17:41:12 -04:00
env-lang.rkt Replaced infer-dummy with lazy-require. 2012-08-14 16:04:51 -04:00
extra-procs.rkt Move typed-scheme to typed-racket collection. 2011-09-03 20:49:39 -04:00
for-clauses.rkt Allow #:unless' in for:'. 2012-12-17 13:57:31 -05:00
internal.rkt scheme -> racket 2012-06-25 13:39:07 -04:00
prims.rkt Add define: form variant for polymorphic non-function values 2012-12-19 13:08:41 -05:00
type-env-lang.rkt Delay actual initialization of type environment. 2012-07-12 17:41:12 -04:00