doc: document logging system.