2

After I got to see the actual timeline, now it's time to try and run tasks and log them. I'm using again a default configuration for a task logger, and calling it with:

my $promise = start react whenever $channel-one -> @crew {
            Algorithm::Evolutionary::LogTimelineSchema::Evolutionary.log: {

That is, the logging schema is called whenever a particular thread activates itself. Tasks are defined in Algorithm::Evolutionary::LogTimelineSchema this way:

class Evolutionary does Log::Timeline::Task['ConcurrentEA', 'Concurrent',
        'Evolutionary'] { }

class Mixer does Log::Timeline::Task['ConcurrentEA', 'Concurrent',
        'Mixer'] { }

However, I don't see the task logging appearing anywhere in the timeline. Is there something I'm doing wrong?

Update: Adds code for the task loggers

jjmerelo
  • 22,578
  • 8
  • 40
  • 86
  • 1
    What does the definition of `Algorithm::Evolutionary::LogTimelineSchema::Evolutionary` look like? – Jonathan Worthington Oct 23 '19 at 22:45
  • @JonathanWorthington updates with code. – jjmerelo Oct 24 '19 at 05:06
  • 1
    i believe the timeline display in comma doesn't display scroll bars; can you try scrolling sideways (by dragging IIRC) or scrolling (with the mousewheel; not sure if a modifier like shift or ctrl is needed additionally) – timotimo Oct 24 '19 at 08:23
  • @timotimo I'm not sure what you mean here. I also have simple event logging, and task logging should appear at pretty much the same time, but nothing shows up. – jjmerelo Oct 25 '19 at 09:35

0 Answers0