• Kevin Morris's avatar
    fix(fastapi): centralize logging initialization · a06f4ec1
    Kevin Morris authored
    
    
    With this change, we provide a wrapper to `logging.getLogger`
    in the `aurweb.logging` module. Modules wishing to log using
    logging.conf should get their module-local loggers by calling
    `aurweb.logging.getLogger(__name__)`, similar to `logging.getLogger`,
    this way initialization with logging.conf is guaranteed.
    Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
    a06f4ec1