Table Of Contents

Previous topic

psychopy.info - functions for getting information about the system

Next topic

psychopy.misc - miscellaneous routines for converting units etc

This Page

Quick links

psychopy.log - control what gets logged

flush()

psychopy.log.flush(logger=<psychopy.logging._Logger instance at 0x1f8ad50>)

Send current messages in the log to all targets

setDefaultClock()

psychopy.log.setDefaultClock(clock)

Set the default clock to be used to reference all logging times. Must be a psychopy.core.Clock object. Beware that if you reset the clock during the experiment then the resets will be reflected here. That might be useful if you want your logs to be reset on each trial, but probably not.