Skip to main content

10 docs tagged with "basics"

View all tags

Basic formatting

spdlog's format strings are fmt's format strings — the same {} mini-language, with the same

C++ Basic Syntax

C++ syntax defines how code is written and structured. Understanding basic syntax is essential for writing valid C++ programs.

Creating JSON values

Construction is where the library's convenience is loudest — you can build a document out of

Log levels

Levels aren't one filter, they're two: a runtime one that lives per logger (and optionally per sink),

Parsing JSON

Parsing is the boundary between untrusted text and typed data. Every way into a json value from

Quick start

The default logger exists so that adding logging to a program is one include and one call. Everything

The JSON value type

json is one C++ type that behaves like several types at runtime — a tagged union with container