Skip to content

[lunarlog] Add new port (1.29.1)#50169

Open
LunarECL wants to merge 1 commit intomicrosoft:masterfrom
LunarECL:add-lunarlog
Open

[lunarlog] Add new port (1.29.1)#50169
LunarECL wants to merge 1 commit intomicrosoft:masterfrom
LunarECL:add-lunarlog

Conversation

@LunarECL
Copy link

Add new port: lunarlog

Header-only C++11 structured logging library with message templates, inspired by Serilog.

Package Information

Dependencies

None — header-only with no external dependencies.

Description

LunarLog provides Serilog-style structured logging for C++11 and above. It supports message templates with named placeholders, multiple sink types (console, file, rolling file, async, batched), runtime log-level control, enrichers, filters, and a fluent builder API.

Key features:

  • Message templates with named/positional parameters
  • Console, file, rolling file, async, and batched sinks
  • Structured properties preserved through the pipeline
  • Thread-safe by default
  • Sub-loggers with independent pipelines
  • Dynamic log-level and config hot-reload
  • Single-header distribution available

Testing

Verified locally on:

  • ✅ macOS (Apple Clang, arm64)
  • ✅ The upstream project runs CI on Ubuntu (GCC/Clang), macOS (AppleClang), and Windows (MSVC) with 1150+ tests

Checklist

  • Changes comply with the maintainer guide.
  • The port name follows the project name on GitHub (LunarLoglunarlog).
    • The project is amongst the first web search results for "LunarLog C++".
  • Optional dependencies are not applicable (no external dependencies).
  • The versioning scheme in vcpkg.json matches upstream (semver tags like v1.29.1).
  • The license declaration in vcpkg.json matches upstream (MIT).
  • The installed copyright file matches upstream.
  • The source code comes from the authoritative GitHub repository.
  • The generated usage text is accurate.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is in the new port's versions file.

@LunarECL
Copy link
Author

@microsoft-github-policy-service agree

@JavierMatosD JavierMatosD added the requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. label Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants