{
  "_id": "6a105432acfb0bcc41ca1fff",
  "Type": "Package",
  "Package": "log4r",
  "Title": "A Fast and Lightweight Logging System for R, Based on 'log4j'",
  "Version": "0.4.4.9000",
  "Authors@R": "c(\nperson(\"John Myles\", \"White\", role = c(\"aut\", \"cph\")),\nperson(\"Kenton\", \"White\", role = \"ctb\"),\nperson(\"Kirill\", \"Müller\", email = \"krlmlr+r@mailbox.org\",\nrole = \"ctb\"),\nperson(\"Aaron\", \"Jacobs\", email = \"atheriel@gmail.com\",\nrole = c(\"aut\", \"cre\"))\n)",
  "Description": "The log4r package is meant to provide a fast, lightweight,\nobject-oriented approach to logging in R based on the\nwidely-emulated 'log4j' system and etymology.",
  "License": "Artistic-2.0",
  "URL": "https://github.com/johnmyleswhite/log4r, https://log4r.r-lib.org",
  "BugReports": "https://github.com/johnmyleswhite/log4r/issues",
  "Encoding": "UTF-8",
  "LazyLoad": "yes",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Collate": "'appenders.R' 'logfuncs.R' 'deprecated.R' 'layouts.R'\n'level.R' 'log4r-package.R' 'logger.R'",
  "Config/Needs/website": "tidyverse/tidytemplate",
  "Repository": "https://r-lib.r-universe.dev",
  "Date/Publication": "2024-10-18 17:05:01 UTC",
  "RemoteUrl": "https://github.com/r-lib/log4r",
  "RemoteRef": "HEAD",
  "RemoteSha": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-09 08:37:26 UTC",
    "User": "root"
  },
  "Author": "John Myles White [aut, cph],\nKenton White [ctb],\nKirill Müller [ctb],\nAaron Jacobs [aut, cre]",
  "Maintainer": "Aaron Jacobs <atheriel@gmail.com>",
  "MD5sum": "4bfe6bb5ca29c1f0fcb53e6f4fef6cfd",
  "_user": "r-lib",
  "_type": "src",
  "_file": "log4r_0.4.4.9000.tar.gz",
  "_fileid": "6d1d32eeaa3932b9dffd5ce30a75a3881a92b01b508b835bdefd8b8ad8f4ea6c",
  "_filesize": 150791,
  "_sha256": "6d1d32eeaa3932b9dffd5ce30a75a3881a92b01b508b835bdefd8b8ad8f4ea6c",
  "_created": "2026-05-09T08:37:26.000Z",
  "_published": "2026-05-22T13:03:46.273Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77384991500,
      "time": 129,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894376128"
    },
    {
      "job": 77384991558,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894375392"
    },
    {
      "job": 77384991685,
      "time": 108,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894374169"
    },
    {
      "job": 77384991426,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894379805"
    },
    {
      "job": 77384991510,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894374683"
    },
    {
      "job": 77384991992,
      "time": 164,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894379676"
    },
    {
      "job": 77384991551,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894376406"
    },
    {
      "job": 77384991185,
      "time": 186,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894382035"
    },
    {
      "job": 77384991209,
      "time": 147,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894363034"
    },
    {
      "job": 77384990633,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7161153164"
    },
    {
      "job": 77384991531,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894371926"
    },
    {
      "job": 77384992040,
      "time": 103,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894373752"
    },
    {
      "job": 77384991345,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894371866"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/r-lib/log4r",
  "_commit": {
    "id": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
    "author": "Aaron Jacobs <atheriel@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #41 from r-lib/pkgdown\n\nSet up an `r-lib`-style pkgdown site",
    "time": 1729271101
  },
  "_maintainer": {
    "name": "Aaron Jacobs",
    "email": "atheriel@gmail.com",
    "login": "atheriel",
    "bluesky": "@atheriel.bsky.social",
    "twitter": "@unconj1",
    "uuid": 1448326
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "futile.logger",
      "role": "Suggests"
    },
    {
      "package": "httr",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lgr",
      "role": "Suggests"
    },
    {
      "package": "logger",
      "role": "Suggests"
    },
    {
      "package": "logging",
      "role": "Suggests"
    },
    {
      "package": "loggit",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    },
    {
      "package": "rlog",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rsyslog",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "r-lib",
  "_selfowned": true,
  "_usedby": 16,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "logging"
  ],
  "_stars": 100,
  "_contributors": [
    {
      "user": "atheriel",
      "count": 108,
      "uuid": 1448326
    },
    {
      "user": "johnmyleswhite",
      "count": 13,
      "uuid": 22064
    },
    {
      "user": "krlmlr",
      "count": 3,
      "uuid": 1741643
    },
    {
      "user": "hadley",
      "count": 3,
      "uuid": 4196
    },
    {
      "user": "jonthegeek",
      "count": 1,
      "uuid": 33983824
    },
    {
      "user": "brooklynbagel",
      "count": 1,
      "uuid": 7762865
    }
  ],
  "_userbio": {
    "uuid": 22618716,
    "type": "organization",
    "name": "R infrastructure"
  },
  "_downloads": {
    "count": 5131,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/log4r"
  },
  "_devurl": "https://github.com/johnmyleswhite/log4r",
  "_searchresults": 294,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/log4r.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-lib/log4r",
  "_realowner": "r-lib",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-1",
      "date": "2010-09-25"
    },
    {
      "version": "0.1-2",
      "date": "2011-05-17"
    },
    {
      "version": "0.1-3",
      "date": "2011-06-25"
    },
    {
      "version": "0.1-4",
      "date": "2012-03-01"
    },
    {
      "version": "0.2",
      "date": "2014-09-29"
    },
    {
      "version": "0.3.0",
      "date": "2019-06-21"
    },
    {
      "version": "0.3.1",
      "date": "2019-09-04"
    },
    {
      "version": "0.3.2",
      "date": "2020-01-18"
    },
    {
      "version": "0.4.0",
      "date": "2021-10-26"
    },
    {
      "version": "0.4.1",
      "date": "2021-10-28"
    },
    {
      "version": "0.4.2",
      "date": "2021-11-04"
    },
    {
      "version": "0.4.3",
      "date": "2022-11-28"
    },
    {
      "version": "0.4.4",
      "date": "2024-10-12"
    }
  ],
  "_exports": [
    "as.loglevel",
    "available.loglevels",
    "bare_log_layout",
    "console_appender",
    "create.logger",
    "debug",
    "default_log_layout",
    "error",
    "fatal",
    "file_appender",
    "http_appender",
    "info",
    "is.loglevel",
    "json_log_layout",
    "level",
    "level<-",
    "levellog",
    "log_at",
    "log_debug",
    "log_error",
    "log_fatal",
    "log_info",
    "log_warn",
    "logfile",
    "logfile<-",
    "logfmt_log_layout",
    "logformat",
    "logformat<-",
    "logger",
    "loglevel",
    "simple_log_layout",
    "syslog_appender",
    "tcp_appender",
    "verbosity",
    "warn"
  ],
  "_help": [
    {
      "page": "appenders",
      "title": "Send logs to their final destination with Appenders",
      "topics": [
        "appenders",
        "console_appender",
        "file_appender"
      ]
    },
    {
      "page": "http_appender",
      "title": "Send logs over HTTP",
      "topics": [
        "http_appender"
      ]
    },
    {
      "page": "layouts",
      "title": "Format logs with Layouts",
      "topics": [
        "bare_log_layout",
        "default_log_layout",
        "json_log_layout",
        "layouts",
        "logfmt_log_layout",
        "simple_log_layout"
      ]
    },
    {
      "page": "level",
      "title": "Set the logging threshold level for a logger dynamically",
      "topics": [
        "available.loglevels",
        "level",
        "level.logger",
        "level<-",
        "level<-.logger"
      ]
    },
    {
      "page": "log_at",
      "title": "Write logs at a given level",
      "topics": [
        "log_at",
        "log_debug",
        "log_error",
        "log_fatal",
        "log_info",
        "log_warn"
      ]
    },
    {
      "page": "logger",
      "title": "Create a logger",
      "topics": [
        "logger"
      ]
    },
    {
      "page": "syslog_appender",
      "title": "Send logs to the local syslog",
      "topics": [
        "syslog_appender"
      ]
    },
    {
      "page": "tcp_appender",
      "title": "Send logs over TCP",
      "topics": [
        "tcp_appender"
      ]
    }
  ],
  "_readme": "https://github.com/r-lib/log4r/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "lifecycle",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "logging-beyond-local-files.Rmd",
      "filename": "logging-beyond-local-files.html",
      "title": "Logging Beyond Local Files",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Writing to the System Log",
        "Sending Logs over HTTP",
        "Writing Directly to TCP Connections"
      ],
      "created": "2020-07-06 18:15:11",
      "modified": "2024-10-12 00:19:43",
      "commits": 4
    },
    {
      "source": "performance.Rmd",
      "filename": "performance.html",
      "title": "Logging Performance",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Using cat()",
        "The log4r Package",
        "The futile.logger Package",
        "The logging Package",
        "The logger Package",
        "The lgr Package",
        "The loggit Package",
        "The rlog Package",
        "Test All Loggers",
        "Benchmarks",
        "How long does it take to print messages?",
        "How long does it take to decide to do nothing?"
      ],
      "created": "2019-09-04 16:12:46",
      "modified": "2024-10-16 02:14:20",
      "commits": 7
    },
    {
      "source": "structured-logging.Rmd",
      "filename": "structured-logging.html",
      "title": "Structured Logging",
      "engine": "knitr::rmarkdown",
      "headings": [
        "JSON Logs",
        "logfmt Logs"
      ],
      "created": "2021-10-22 20:05:14",
      "modified": "2024-10-17 14:16:28",
      "commits": 4
    }
  ],
  "_score": 10.73485184583483,
  "_indexed": true,
  "_nocasepkg": "log4r",
  "_universes": [
    "r-lib",
    "atheriel",
    "johnmyleswhite"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.4.9000",
      "date": "2026-05-09T08:39:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "79c9dd62607bc6cc9d243232722a10379ea502d1d6344ad589c1687834b20b33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.4.9000",
      "date": "2026-05-09T08:39:27.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "29d6b07fdbb57fe215270a03ec1ff8ef12281d46f8aafdb251b9dd34a619d109",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.4.9000",
      "date": "2026-05-09T08:39:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "6b458936c29c4bfe9779b82a323ec0ee020f45ee1c87888b6eb554a47af17352",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.4.9000",
      "date": "2026-05-09T08:40:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "f1c8fd81a9fb38a58ff7285bbc2ce259973b2585587dc3af6f55c183ca51ee8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.4.9000",
      "date": "2026-05-09T08:39:18.000Z",
      "arch": "aarch64",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "accd8dc3bdd0b232c42cddea87f95dad6d91c00fe10023aa15f8b7844e82d394",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.4.9000",
      "date": "2026-05-09T08:40:00.000Z",
      "arch": "x86_64",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "9a789e0843b91cdd33b34c0477059b3f451027df904811c70a3f6261008a3441",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.4.9000",
      "date": "2026-05-09T08:39:31.000Z",
      "arch": "aarch64",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "2d5e4d8b002693989c87ed6885a4a9ac5267779654cfde1308c48c9fda62ae23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.4.9000",
      "date": "2026-05-09T08:40:25.000Z",
      "arch": "x86_64",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "6f815c933a89268ab2e4fee658d89ff9733e1cdadf18145c15b4bf571b6e56a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.4.9000",
      "date": "2026-05-09T08:38:42.000Z",
      "arch": "x86_64",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "59f5ad8ebebfaddf2816d06bfe1a6b9c80cdb42d802f6f806b73fa5a819af4df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.4.9000",
      "date": "2026-05-09T08:38:56.000Z",
      "arch": "x86_64",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "7e3c3b20b0ab1bf541a33d7017ed1861ad632205f5735370cec7e0961636024d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.4.9000",
      "date": "2026-05-09T08:38:40.000Z",
      "arch": "x86_64",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "de56c201b395bcfc1249e626fbfba91ea327fa0854cb5edfc480571ab81dc121",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.4.9000",
      "date": "2026-05-22T13:03:28.000Z",
      "arch": "emscripten",
      "commit": "ab0b7e97c12bf4b7db4209e1de379f4985d39d36",
      "fileid": "ccb821d239bb14dfe19275ec8c350a6bf2d6c6e8a174e25a2b55d5848e73ea7d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25596652079"
    }
  ]
}