ArgusLogs Production debugging for .NET Home Tutorial ArgusLogs.core ArgusLogsOptions reference Developer guide
Deep dive into ArgusLogs.core Developer guide for ArgusLogs—the production debugging and observability platform for .NET applications.
Tutorials are hands-on walkthroughs (prerequisites, install, configuration, code, expected result, explanation, then next steps). Official reference stays in documentation — this is not a full docs clone.
Section 4 of 6 ArgusLogs.core
ArgusLogsOptions reference Below is a detailed guide to every parameter inside the ArgusLogsOptions configuration builder.
Output & sinks configuration Property / Method Default Type Description LogFilePath "argus.log" string Target file path when WriteToFile() is used. LogFileNameFormat null string Optional dynamic suffix (e.g. "_yyyyMMdd") for rotating log files. Format LogFormat.Json LogFormat Output syntax: Json, Yaml, Txt, Xml, Log. JSON is default for shippers. Beautiful false bool Indent JSON/XML/YAML for human-readable development output. UseShortKeys false bool Short field keys (e.g. "ts", "lvl") to reduce payload size. MinimumLogLevel Information LogLevel Discards logs below this severity: Debug, Information, Warning, Error, Critical. ConsoleOutput false bool Whether console printing is active. Prefer WriteToConsole(). WriteToFile(string? path) — string? Fluent method to add a file sink, optionally changing the path. WriteToConsole() — — Registers a console sink to process stdout. WriteToSql(conn, schema?) — string, string? Microsoft SQL Server structured log sink. WriteToPostgres(conn, schema?) — string, string? PostgreSQL structured log sink. WriteToClickHouse(conn, schema) — string, string High-performance ClickHouse analytical sink. WithPriorityMode(stopOnSuccess) — bool Sequential sink writes; if stopOnSuccess, stops after first successful write (failover).
Feature & library toggles Property / Method Default Type Description EnableMethodLogging true bool Allows AOP-woven method entry/exit telemetry. Disable to silence woven logs. EnableDatabaseTracking false bool Loads the database interception library for queries, parameters, and latencies. EnableNetworkTracking false bool Enables incoming and outgoing HTTP request-response tracking. EnableMetrics false bool Configures memory, GC, and system CPU metric collections.
Security, licensing & privacy Property / Method Default Type Description LicenseKey null string Cryptographic license key validating module capabilities for the environment. VerificationApiUrl See default string API used by LicenseOnlineVerifier for online subscription validation. MaskSensitiveData true bool Default redaction for cards, tokens, authorization headers, and secrets. EncryptionKey null string If set, encrypts message payloads in sinks to protect data at rest.
Previous Next section