Closed stevensotelo closed 3 years ago
@khadijaAouzal
@juangarc
@brayan9487
The package name is: futile.logger
@juangarc and @bmora-0110
It is still pending to implement
@juangarc and @bmora-0110
It is still pending to implement
@juangarc and @bmora-0110
log_info('passport', message = "Getting accessions passport data for crop(s): %s", crop)
@juangarc
He implemented the log format in the master script
@bmora-0110
He implemented the log format in the master script
[x] He has some issues with source code when he works with this function
@bmora-0110
The logs output should have the following format
TYPE | DATE | DESCRIPTION
TYPE: INFO | ERROR DATE: yyyy-MM-dd HH:mm:ss
Example:
INFO | 2020-12-04 21:46:19 | Getting accessions passport data for crop(s): african yam bean ERROR | 2020-12-04 21:46:29 | Error in curl::curl_fetch_memory(url, handle = handle): Timeout was reached: [api.genesys-pgr.org] Connection timed out after 10002 milliseconds