Describes minimum required functionality from Logger component.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class ILogger :public virtual IComponent
{
public:
virtual String getFileName() = 0; // Return name of file which stores data
virtual bool setFileName(const String &value) = 0; // Set name of file which stores data
// Append different types of data to the file specified in FileName. Return false if data to append is empty of file cannot be opended
virtual bool Log(const String &value, const bool append_new_line = true) = 0;
virtual bool Log(const wchar_t *value, const bool append_new_line = true) = 0;
virtual bool Log(const bool value, const bool append_new_line = true) = 0;
virtual bool Log(const int value, const bool append_new_line = true) = 0;
virtual bool Log(const float value, const bool append_new_line = true) = 0;
virtual bool Log(const Color &value, const bool append_new_line = true) = 0;
virtual bool Log(const Point &value, const bool append_new_line = true) = 0;
virtual bool Log(const PointB &value, const bool append_new_line = true) = 0;
virtual bool Log(const PointF &value, const bool append_new_line = true) = 0;
virtual bool Log(const Rect &value, const bool append_new_line = true) = 0;
virtual bool Log(const RectB &value, const bool append_new_line = true) = 0;
virtual bool Log(const RectF &value, const bool append_new_line = true) = 0;
virtual bool Log(const RectC &value, const bool append_new_line = true) = 0;
virtual bool Log(const Vector &value, const bool append_new_line = true) = 0;
};
Namespace: | nitisa::standard |
Include: | Standard/Components/ILogger.h |