MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / File

Method File

cpp/webdriver-interactions/logging.h:119–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117class LOG : public Logger<LOG> {
118 public:
119 static void File(const std::string& name, const char* openMode = "w") {
120 const std::string& file = Name(name);
121 if (file == "stdout") {
122 LOG::File() = stdout;
123 } else if (file == "stderr") {
124 LOG::File() = stderr;
125 } else {
126 LOG::File() = fopen(file.c_str(), openMode);
127 }
128 }
129
130 static void Limit(off_t size) {
131 LOG::Limit() = size;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected