anki/pylib/anki
Damien Elmes 0570cfdf48 Migrate from slog to tracing
The Rust community appear to have converged on tracing - it's used by
the Rust compiler, and receives close to 10x the number of downloads
that slog does. Its API is more ergonomic, and it does a much nicer
job with async rust.

To make this change, we no longer pass around explicit loggers, and rely
on a globally-registered one. The log file location has been changed
from one in each profile folder to a single one in the base folder. This
will remain empty for most users, since only errors are logged by default,
but may be useful for debugging future changes.
2022-12-24 10:44:40 +10:00
..
_vendor Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
foreign_data Plaintext import/export (#1850) 2022-06-01 20:26:16 +10:00
importing Fix typos (#2210) 2022-11-24 20:18:57 +10:00
scheduler Enable state-dependent custom scheduling data (#2049) 2022-09-05 16:48:01 +10:00
syncserver updated package scripts 2021-10-28 18:46:45 +10:00
_backend.py Migrate from slog to tracing 2022-12-24 10:44:40 +10:00
_legacy.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
_rsbridge.pyi Migrate from slog to tracing 2022-12-24 10:44:40 +10:00
browser.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
cards.py Add card meta for persisting custom scheduling state (#2040) 2022-09-02 11:22:49 +10:00
collection.py Migrate from slog to tracing 2022-12-24 10:44:40 +10:00
config.py Import submodules directly (#1662) 2022-02-13 13:40:47 +10:00
consts.py Fix mypy not picking up on missing attributes 2022-11-04 14:56:36 +10:00
db.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
dbproxy.py fix cyclic import when importing anki.collection directly 2022-02-15 19:08:29 +10:00
decks.py Fix mypy not picking up on missing attributes 2022-11-04 14:56:36 +10:00
errors.py Refactor error handling (#2136) 2022-10-21 18:02:12 +10:00
exporting.py Narrow typehints within pylib (#2003) 2022-08-05 14:48:07 +10:00
find.py Add py3.9 to hooks (#1542) 2021-12-09 09:11:22 +10:00
hooks.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
httpclient.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
lang.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
latex.py Make dvipng use transparent background by default (#2036) 2022-08-31 18:49:22 +10:00
media.py Narrow typehints within pylib (#2003) 2022-08-05 14:48:07 +10:00
models.py Import submodules directly (#1662) 2022-02-13 13:40:47 +10:00
notes.py Narrow typehints within pylib (#2003) 2022-08-05 14:48:07 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
rsbackend.py PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00
sound.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
stats.py Fix some more RTL issues (#2244) 2022-12-08 22:29:56 +10:00
statsbg.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
stdmodels.py Fix mypy not picking up on missing attributes 2022-11-04 14:56:36 +10:00
storage.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
sync.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
tags.py Move custom study tag and limit gathering+saving into the backend 2022-03-10 16:23:03 +10:00
template.py Store rendered side in TemplateRenderContext (#1852) 2022-05-10 11:44:44 +10:00
types.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
utils.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00