chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #323: Have a logger-like warning precedence concept


From: Chicken Trac
Subject: [Chicken-janitors] #323: Have a logger-like warning precedence concept
Date: Tue, 10 Aug 2010 01:08:18 -0000

#323: Have a logger-like warning precedence concept
-------------------------------+--------------------------------------------
 Reporter:  kon                |       Owner:       
     Type:  enhancement        |      Status:  new  
 Priority:  not urgent at all  |   Milestone:  4.6.0
Component:  core libraries     |     Version:  4.5.x
 Keywords:                     |  
-------------------------------+--------------------------------------------
 - level is a symbol or #f, indicating lower than the lowest level

   (message-levels [levels]) -> level

     - parameter that gets/sets the active message levels

     - levels is a list of symbol defining the legal set of levels
     and the order of precedence. () means no levels

   (message-level [level]) -> level

     - parameter that gets/sets the active message level

     - the active message level determines whether a message
     is processed any further. any message with a level lower
     than the current level is ignored.

   (message level msg . args)

     - msg is a string, and args are objects

     - a level of #f will never be seen unless () = (message-levels)

   (warning msg . args) & (##sys#notice msg . args)

     - wrappers around `message'

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/323>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]