A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/cpp/docs/reference/common/2.31.0/classgoogle_1_1cloud_1_1Logger below:

Class Logger<bool> (2.31.0) | C++ Client Libraries

Class Logger<bool> (2.31.0)

Stay organized with collections Save and categorize content based on your preferences.

Define the class to capture a log message.

Constructors Logger(Severity, char const *, char const *, int, LogSink &) Parameters Name Description severity Severity
function char const *
filename char const *
lineno int
sink LogSink &
Functions enabled() const Returns Type Description bool LogTo(LogSink &)

Send the log record captured by this object to sink.

Parameter Name Description sink LogSink &
Returns Type Description void Stream()

Return the iostream that captures the log message.

Returns Type Description std::ostream &

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-14 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["The latest version available is 2.37.0-rc, with a detailed reference found at `/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Logger`."],["A range of previous versions are documented, spanning from 2.36.0 down to 2.10.1, each linked to their respective reference pages."],["The `Logger` class is defined to capture a log message, offering flexibility in defining the severity, location, and sink for the message."],["The class provides methods such as `enabled()`, `LogTo()`, and `Stream()` to check if it is enabled, send log records, and return the stream capturing the log message respectively."],["The constructor `Logger()` takes in the log message `severity`, `function`, `filename`, `lineno` and `sink` as parameters to construct a `Logger` object."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4