Name Description Size
android.rs 18170
browser.rs 13458
build.rs 1184
capabilities.rs 46617
command.rs 10861
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.jsm] 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.jsm]: https://developer.mozilla.org/en/docs/Mozilla/JavaScript_code_modules/Log.jsm [`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 10674
main.rs 10920
marionette.rs 54495
prefs.rs 8288
test.rs 426
tests 1