forked from pharo-project/pharo-beacon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enabled access to announcers subscriptions. (see pharo-project#2). Re…
…named class name in class comment
- Loading branch information
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
6 changes: 5 additions & 1 deletion
6
repository/Beacon-Core.package/Beacon.class/instance/loggersOf..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
accessing | ||
loggersOf: aClass | ||
^ (announcer subscriptions subscriptions collect: #subscriber as: Set) | ||
"announcments SubscriptionRegistry does not allow access to its subscriptions which | ||
Beacon needs. So there is a hack to access the instVar directly until access to | ||
subscriptions has been solved" | ||
self flag: #hack. | ||
^ ((announcer subscriptions instVarNamed: #subscriptions) collect: #subscriber as: Set) | ||
select: [ :each | each isKindOf: aClass ] |
2 changes: 1 addition & 1 deletion
2
repository/Beacon-Core.package/SerializingLogger.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
This is an abstract class for all loggers that need to serialize objects. Basically there are two types of loggers: one that stores signals in memory and this which exports signal to the outer world. In order to do that objects need to be serialized in some way. | ||
|
||
In order to create a new serializing logger subclasses should overwrite two methods. On the class side overwrite #defaultSerializer to select the SignalSerializer that converst an object to an external representation. Second overwrite #handleSerializedSignal: to transmit the object to the outside world | ||
In order to create a new serializing logger subclasses should overwrite two methods. On the class side overwrite #defaultSerializer to select the SignalSerializer that converst an object to an external representation. Second overwrite #nextPutSerialized:: to transmit the object to the outside world |
2 changes: 1 addition & 1 deletion
2
repository/Beacon-Core.package/SerializingLogger.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters