Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: logger.printtofile - Function Up: logger - Tool Previous: logger.nmessages - Function


logger.purge - Function



Package utility
Module tasking
Tool logger


Delete some or all messages from the log file.


Synopsis
purge(keeplast, expr)


Description
While you will normally want to delete log messages using the GUI, you can do it ``by hand'' from this function, or you might want to use this function to manage messages in your own scripts.
If an expression is given all matching messages will be removed. Otherwise the last N messages will be kept.



Arguments

keeplast in How many messages to keep (from end)
    Allowed: Int
    Default: 500
expr in Delete messages matching this TaQL expression
    Allowed: String
    Default: ''


Returns
Bool - function ok




next up previous contents index
Next: logger.printtofile - Function Up: logger - Tool Previous: logger.nmessages - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15