| Flutter Impeller |

Public Member Functions | List of all members
impeller::ValidationLog Class Reference

`#include <validation.h>`

## Public Member Functions
| ValidationLog (const char *file, int line)
| ~ValidationLog ()
std::ostream & | GetStream ()

## Detailed Description

Definition at line 13 of file validation.h.

## Constructor & Destructor Documentation

## ◆ ValidationLog()

impeller::ValidationLog::ValidationLog | ( | const char * | file,
|  | int | line
| ) |  |

Definition at line 41 of file validation.cc.

42 : file_(file), line_(line) {}

## ◆ ~ValidationLog()

impeller::ValidationLog::~ValidationLog | ( |  | ) |

Definition at line 44 of file validation.cc.

44 {
45 if (sValidationLogsDisabledCount <= 0) {
46 ImpellerValidationBreak(stream_.str().c_str(), file_, line_);
47 }
48 }
impeller::ImpellerValidationBreak
void ImpellerValidationBreak(const char *message, const char *file, int line)
Definition: validation.cc:54
impeller::sValidationLogsDisabledCount
static std::atomic_int32_t sValidationLogsDisabledCount
Definition: validation.cc:13

References impeller::ImpellerValidationBreak(), and impeller::sValidationLogsDisabledCount.

## Member Function Documentation

## ◆ GetStream()

std::ostream & impeller::ValidationLog::GetStream | ( |  | ) |

Definition at line 50 of file validation.cc.

50 {
51 return stream_;
52 }

The documentation for this class was generated from the following files:

- impeller/base/validation.h
- impeller/base/validation.cc