Part of lp.services.scripts.logger View In Hierarchy
Use instances as callbacks for optparse.
| Method | __init__ | Initialize nudger to increment or decrement log level. |
| Method | getIncrement | Figure out how much to increment the log level. |
| Method | __call__ | Callback for optparse to handle --verbose or --quiet option. |
| Parameters | default | Default starting level. |
| increment | Whether to increase the log level (as when handling the --verbose option). If not, will decrease instead (as with the --quiet option). |