You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, all logging in sheet2linkml is carried out by running e.g.:
logging.info(f"Google Sheet loaded: {model}")
The recommended way of using loggers is to create a context specific or per-class logger object and use that, i.e.
logger=logging.getLogger(__name__)
click_log.basic_config(logger)
# code for modulelogger.info(f"Google Sheet loaded: {model}")
(Note the use of click-log to allow users to configure the logging from the command line, so we no longer have to include a logger.ini file)
I'm going to mark this low-priority, since the current scheme works for now. However, new code should definitely use this scheme, and we should probably find some time towards the end of this year or early next year to do this.
The text was updated successfully, but these errors were encountered:
This issue is perhaps best suited for the sheet2linkml repo, whenever that comes to fruition. I can take up the responsibility of integrating click-log with sheet2linkml, so I'm assigning this issue to myself.
At the moment, all logging in sheet2linkml is carried out by running e.g.:
The recommended way of using loggers is to create a context specific or per-class logger object and use that, i.e.
(Note the use of click-log to allow users to configure the logging from the command line, so we no longer have to include a logger.ini file)
I'm going to mark this low-priority, since the current scheme works for now. However, new code should definitely use this scheme, and we should probably find some time towards the end of this year or early next year to do this.
The text was updated successfully, but these errors were encountered: