{"id":34819190,"url":"https://github.com/falko-code/falko-logging","last_synced_at":"2025-12-25T14:04:00.564Z","repository":{"id":289288614,"uuid":"970520767","full_name":"falko-code/falko-logging","owner":"falko-code","description":"high-performance static structured logger with minimal allocations","archived":false,"fork":false,"pushed_at":"2025-11-29T00:45:18.000Z","size":514,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-29T18:29:32.445Z","etag":null,"topics":["aot","aot-compatible","c-sharp","cross-platform","dotnet","logger","logging","logging-library","native-aot","net8","net9","structured-logging"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/falko-code.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-22T06:22:30.000Z","updated_at":"2025-11-29T00:45:22.000Z","dependencies_parsed_at":"2025-04-22T14:49:09.704Z","dependency_job_id":"69d48573-00ba-4bc5-b44f-a72300f117ec","html_url":"https://github.com/falko-code/falko-logging","commit_stats":null,"previous_names":["falko-team/zero-logger","falko-code/zero-logger"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/falko-code/falko-logging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falko-code%2Ffalko-logging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falko-code%2Ffalko-logging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falko-code%2Ffalko-logging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falko-code%2Ffalko-logging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/falko-code","download_url":"https://codeload.github.com/falko-code/falko-logging/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falko-code%2Ffalko-logging/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28028915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aot","aot-compatible","c-sharp","cross-platform","dotnet","logger","logging","logging-library","native-aot","net8","net9","structured-logging"],"created_at":"2025-12-25T14:03:49.183Z","updated_at":"2025-12-25T14:04:00.558Z","avatar_url":"https://github.com/falko-code.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!WARNING]\n\u003e This project is under active development. The underlying C# libraries are subject to change.\n\n# Falko Logging\n\n[![NuGet Version](https://img.shields.io/nuget/v/Falko.ZeroLogger?style=for-the-badge\u0026color=green)](https://www.nuget.org/packages?q=Falko.ZeroLogger\u0026prerel=false)\n[![NuGet Version](https://img.shields.io/nuget/vpre/Falko.Logging?style=for-the-badge\u0026color=red)](https://www.nuget.org/packages?q=Falko.Logging\u0026prerel=true)\n[![SDK Version](https://img.shields.io/badge/.NET-10%2C9%2C8-gray?style=for-the-badge)](https://dotnet.microsoft.com/en-us/download)\n[![CSharp Version](https://img.shields.io/badge/CSharp-14-gray?style=for-the-badge)](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-version-history)\n[![GitHub License](https://img.shields.io/github/license/falko-code/zero-logger?style=for-the-badge\u0026color=gray)](License.md)\n\nHigh-performance static structured logger with minimal allocations.\n\n```C#\n#:package Falko.ZeroLogger.Targets.Console@0.10.0.*-*\n#:package Falko.ZeroLogger.Targets.File@0.10.0.*-*\n#:package Falko.ZeroLogger.Targets.Concurrent@0.10.0.*-*\n#:package Falko.ZeroLogger.Renderers.Simple@0.10.0.*-*\n\nusing Falko.Logging.Factories;\nusing Falko.Logging.Logs;\nusing Falko.Logging.Renderers;\nusing Falko.Logging.Runtimes;\nusing Falko.Logging.Targets;\n\nusing var loggerRuntime = new LoggerRuntime().Initialize(builder =\u003e builder\n    .SetLevel(LogLevels.InfoAndAbove)\n    .AddTarget(SimpleLogContextRenderer.Instance,\n        LoggerConsoleTarget.Instance\n            .AsConcurrent())\n    .AddTarget(SimpleLogContextRenderer.Instance,\n        new LoggerFileTarget(\"app_name\", \"./Logs\")\n            .AsConcurrent()));\n\nvar logger = typeof(Program).CreateLogger(loggerRuntime);\n\nlogger.Info(\"PI is {PI}\", Math.PI);\n```\n\n```bash\ndotnet run Example.cs\n```\n\n## Performance\n\nCompare the performance of the **Falko Logging** with the **NLog Logger**.\n\n```console\nBenchmarkDotNet v0.15.2, Linux Rocky Linux 10.0 (Red Quartz)\nAMD EPYC-Rome Processor, 1 CPU, 1 logical core and 1 physical core\n.NET 8.0.18 (8.0.1825.31117), X64 RyuJIT AVX2\n.NET 9.0.7 (9.0.725.31616), X64 RyuJIT AVX2\nGC=Concurrent Workstation\nHardwareIntrinsics=AVX2,AES,BMI1,BMI2,FMA,LZCNT,PCLMUL,POPCNT VectorSize=256\ngcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)\nLLD 19.1.7 (compatible with GNU linkers)\n```\n\n| Method                       | Runtime       |       Mean |   Ratio |   Allocated |   Alloc Ratio |\n|------------------------------|---------------|-----------:|--------:|------------:|--------------:|\n| RenderZeroLoggerLog          | .NET 9.0      |   16.57 us |    0.45 |     25.7 KB |          0.51 |\n| RenderZeroLoggerHandlingLog  | .NET 9.0      |   16.82 us |    0.46 |    24.14 KB |          0.48 |\n| RenderZeroLoggerStaticLog    | .NET 9.0      |   16.20 us |    0.44 |     25.7 KB |          0.51 |\n| RenderNLogLoggerLog          | .NET 9.0      |   36.73 us |    1.00 |    50.78 KB |          1.00 |\n|                              |               |            |         |             |               |\n| RenderZeroLoggerLog          | NativeAOT 9.0 |   17.17 us |    0.51 |     25.7 KB |          0.51 |\n| RenderZeroLoggerHandlingLog  | NativeAOT 9.0 |   17.16 us |    0.51 |    24.14 KB |          0.48 |\n| RenderZeroLoggerStaticLog    | NativeAOT 9.0 |   16.48 us |    0.49 |     25.7 KB |          0.51 |\n| RenderNLogLoggerLog          | NativeAOT 9.0 |   33.98 us |    1.00 |    50.78 KB |          1.00 |\n|                              |               |            |         |             |               |\n| RenderZeroLoggerLog          | .NET 8.0      |   19.03 us |    0.51 |     25.7 KB |          0.51 |\n| RenderZeroLoggerHandlingLog  | .NET 8.0      |   21.06 us |    0.57 |    24.14 KB |          0.48 |\n| RenderZeroLoggerStaticLog    | .NET 8.0      |   19.58 us |    0.53 |     25.7 KB |          0.51 |\n| RenderNLogLoggerLog          | .NET 8.0      |   37.27 us |    1.00 |    50.78 KB |          1.00 |\n|                              |               |            |         |             |               |\n| RenderZeroLoggerLog          | NativeAOT 8.0 |   19.03 us |    0.49 |     25.7 KB |          0.51 |\n| RenderZeroLoggerHandlingLog  | NativeAOT 8.0 |   20.78 us |    0.54 |    24.14 KB |          0.48 |\n| RenderZeroLoggerStaticLog    | NativeAOT 8.0 |   19.13 us |    0.50 |     25.7 KB |          0.51 |\n| RenderNLogLoggerLog          | NativeAOT 8.0 |   38.55 us |    1.00 |    50.78 KB |          1.00 |\n\n## License\n\nThis project is licensed under the **[GNU General Public License v3.0](License.md)**.\n\n**© 2025, Falko**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalko-code%2Ffalko-logging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalko-code%2Ffalko-logging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalko-code%2Ffalko-logging/lists"}