Feature #2554

Terminate logger after specified number of events

Added by J. Moringen over 6 years ago. Updated over 6 years ago.

Status:ResolvedStart date:06/01/2016
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Common Lisp Tools
Target version:rsb-0.14

Description

The logger should have a commandline option to terminate after having processed a specified number of events.

Associated revisions

Revision 419c9447
Added by J. Moringen over 6 years ago

Added termination predicate in src/commands/logger.lisp

refs #2554

  • src/commands/logger.lisp (logger::while): new slot; stores an optional
    termination predicate
    (process-events): accept while keyword parameter; when supplied, use
    it to decide whether to terminate
    (command-execute logger): pass termination predicate to
    `process-events'
  • test/commands/logger.lisp (header): updated copyright
    (test logger-root::construction): added case exercising :while initarg

Revision 14d7d860
Added by J. Moringen over 6 years ago

Added stop-after commandline option to logger command in logger/main.lisp

refs #2554

  • logger/main.lisp (update-synopsis): added stop-after commandline
    option
    (main): derive termination predicate from value of stop-after
    commandline option and pass to constructed command
  • CMakeLists.txt: added test for the stop-after commandline option of
    the logger command

Revision 6e4b1b37
Added by J. Moringen over 6 years ago

Added description of --stop-after commandline option in tool-logger.rst

refs #2554

  • tool-logger.rst (Description): added description of --stop-after
    commandline option

Revision 908ed0b0
Added by J. Moringen over 6 years ago

Mention stop-after commandline option in news.rst

fixes #2554

  • news.rst (RSB 0.14): mention stop-after commandline option now
    accepted by the logger command

History

#1 Updated by J. Moringen over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by J. Moringen over 6 years ago

  • Assignee changed from A. Moringen to J. Moringen

Also available in: Atom PDF