1 definition module matchLog
3 /** This module defines the logging facilities of Soccer-Fun.
9 :: WhatToLog = { footballerActions :: !Bool
10 , fbPositions :: !Bool
12 , ballPosition :: !Bool
14 instance toString WhatToLog
16 getWhatToLog :: !*env -> (!WhatToLog,!*env) | FileSystem env
20 /* logMatch options match refereeActions succeededActions env
21 writes the indicated log fields to logFile.
23 logMatch :: !WhatToLog !Match ![RefereeAction] !(AssocList FootballerID FootballerAction) !*env -> *env | FileSystem env