Subscribe to log events (Trace, Debug, Info, Warning, Error). Each time a log event with the passed log level occurs, the callback will be invoked with the log object.
func subscribeLogEvents(_ logLevel: LogLevel, logEvent: @escaping LogEventClosure)
|logLevel||object is an instance of LPLog.|
|logEvent||The completion block will pass LPLog object which consists all the information for the log.|