struct file

Declaration

struct file : public manipulator { /* full declaration omitted */ };

Description

Writes the string to a file

Declared at: libs/pika/logging/include/pika/logging/format/destinations.hpp:114

Inherits from: manipulator

Member Variables

protected std::string name
protected pika::util::logging::destination::file:: file_settings settings

Method Overview

  • protected file(const std::string & file_name, pika::util::logging::destination::file::file_settings set)
  • public static std::unique_ptr<file> make(const std::string & file_name, pika::util::logging::destination::file::file_settings set = {})
  • public ~file()

Inherited from manipulator:

Methods

file(const std::string& file_name,
     pika::util::logging::destination::file::
         file_settings set)

Declared at: libs/pika/logging/include/pika/logging/format/destinations.hpp:153

Parameters

const std::string& file_name
pika::util::logging::destination::file:: file_settings set

static std::unique_ptr<file> make(
    const std::string& file_name,
    pika::util::logging::destination::file::
        file_settings set = {})

Description

constructs the file destination

Declared at: libs/pika/logging/include/pika/logging/format/destinations.hpp:147

Parameters

const std::string& file_name
name of the file
pika::util::logging::destination::file:: file_settings set = {}
[optional] file settings - see file_settings class, and @ref

~file()

Declared at: libs/pika/logging/include/pika/logging/format/destinations.hpp:150