Name Description Size
android.rs 19407
browser.rs 19943
build.rs 1184
capabilities.rs 52304
command.rs 11690
logging.rs Gecko-esque logger implementation for the [`log`] crate. The [`log`] crate provides a single logging API that abstracts over the actual logging implementation. This module uses the logging API to provide a log implementation that shares many aesthetical traits with [Log.sys.mjs] from Gecko. Using the [`error!`], [`warn!`], [`info!`], [`debug!`], and [`trace!`] macros from `log` will output a timestamp field, followed by the log level, and then the message. The fields are separated by a tab character, making the output suitable for further text processing with `awk(1)`. This module shares the same API as `log`, except it provides additional entry functions [`init`] and [`init_with_level`] and additional log levels `Level::Fatal` and `Level::Config`. Converting these into the [`log::Level`] is lossy so that `Level::Fatal` becomes `log::Level::Error` and `Level::Config` becomes `log::Level::Debug`. [`log`]: https://docs.rs/log/newest/log/ [Log.sys.mjs]: https://searchfox.org/mozilla-central/source/toolkit/modules/Log.sys.mjs [`error!`]: https://docs.rs/log/newest/log/macro.error.html [`warn!`]: https://docs.rs/log/newest/log/macro.warn.html [`info!`]: https://docs.rs/log/newest/log/macro.info.html [`debug!`]: https://docs.rs/log/newest/log/macro.debug.html [`trace!`]: https://docs.rs/log/newest/log/macro.trace.html [`init`]: fn.init.html [`init_with_level`]: fn.init_with_level.html 12727
main.rs 15875
marionette.rs 73978
prefs.rs 6921
test.rs 426
tests