AllenNeuralDynamics / spim-core

common features shared across Allen Institute SPIM systems
MIT License
0 stars 1 forks source link

schema logger #10

Closed Poofjunior closed 1 year ago

Poofjunior commented 1 year ago

We need a way to record metadata-relevant events. One of the easiest ways of doing this is to record metadata-relevant messages to a separate logger.

Poofjunior commented 1 year ago

This is now pushed into spim core as:

self.schema_log

From any class that inherits from Spim, you should be able to self.schema_log.info("my info string here.") just like calls to self.log.