Initiates the event handler. This function returns
Args, which should be used in a call to
gen_event:add_handler(EventMgr, log_mf_h, Args).
Dir specifies which directory to use for the log
files. MaxBytes specifies the size of each individual
file. MaxFiles specifies how many files are
used. Pred is a predicate function used to filter the
events. If no predicate function is specified, all events are
logged.