|
Dynalib Utils
|
#include <DynaLogger.h>


Public Member Functions | |
| DynaOutputSinkFile (const char *fileNamePrefix) | |
| virtual | ~DynaOutputSinkFile () |
| DynaOutputSinkFile (const DynaOutputSinkFile &other) | |
| DynaOutputSinkFile * | copy () override |
| int | hashCode () const override |
| String & | getFileNamePrefix () |
| String & | getFileName () |
| FILE * | getFile () |
| void | setPolicies (uint16_t policyBits) |
| void | clearPolicies (uint16_t policyBits) |
| void | setMaxFileSizeKB (uint32_t maxSize) |
| uint64_t | getMaxFileSizeKB () |
| void | setRollingMaxKeep (int maxKeepFiles) |
| int | getRollingMaxKeep () |
| bool | open () |
| bool | isOpen () |
| void | close () |
| tm | getCurrentTimeInfo () |
| bool | fileNeedsToChange () |
| void | shuffleFileNames (String &fileName, int index) |
| void | getNextFileName () |
| bool | appendToQueue (LogLevel level, const char *outStr) override |
| void | flush () override |
Public Member Functions inherited from DynaOutputSink | |
| DynaOutputSink () | |
| DynaOutputSink (SinkType type) | |
| virtual | ~DynaOutputSink () |
| DynaOutputSink (const DynaOutputSink &other) | |
| bool | operator== (const DynaOutputSink &other) const override |
| SinkType | getType () |
| void | setManager (DynaLoggerManager *mgr) |
| void | setAnsiColors (ANSIColors colors) |
| void | setAutoFlush (bool autoFlush) |
| bool | isEnabled () |
| void | setEnabled (bool enabled) |
| LogLevel | getMinLogLevel () |
| LogLevel | getMaxLogLevel () |
| void | setLogLevel (LogLevel level) |
| void | setMinLogLevel (LogLevel minLevel) |
| void | setMaxLogLevel (LogLevel maxLevel) |
| void | setLogLevels (LogLevel minLevel, LogLevel maxLevel, bool override=true) |
| String | ansiOn (LogLevel level) |
| Get the ANSI Color Tag object. More... | |
| bool | isLevelOverride () |
Public Member Functions inherited from IHashable< DynaOutputSink > | |
| IHashable ()=default | |
| virtual | ~IHashable ()=default |
Public Member Functions inherited from IComparable< DynaOutputSink > | |
| IComparable ()=default | |
| virtual | ~IComparable ()=default |
Public Member Functions inherited from ICopyable< DynaOutputSink > | |
| ICopyable ()=default | |
| virtual | ~ICopyable ()=default |
Additional Inherited Members | |
Protected Attributes inherited from DynaOutputSink | |
| SinkType | _type |
| LogLevel | _minLogLevel |
| LogLevel | _maxLogLevel |
| bool | _levelOverride |
| ANSIColors | _colors |
| bool | _autoFlush |
| bool | _enabled |
| DynaLoggerManager * | _mgr |
| DynaOutputSinkFile::DynaOutputSinkFile | ( | const char * | fileNamePrefix | ) |
|
virtual |
| DynaOutputSinkFile::DynaOutputSinkFile | ( | const DynaOutputSinkFile & | other | ) |
|
overridevirtual |
Reimplemented from DynaOutputSink.
| void DynaOutputSinkFile::clearPolicies | ( | uint16_t | policyBits | ) |
| void DynaOutputSinkFile::close | ( | ) |
|
overridevirtual |
Reimplemented from DynaOutputSink.
| bool DynaOutputSinkFile::fileNeedsToChange | ( | ) |
|
overridevirtual |
Reimplemented from DynaOutputSink.
| tm DynaOutputSinkFile::getCurrentTimeInfo | ( | ) |
| FILE * DynaOutputSinkFile::getFile | ( | ) |
| String & DynaOutputSinkFile::getFileName | ( | ) |
| String & DynaOutputSinkFile::getFileNamePrefix | ( | ) |
| uint64_t DynaOutputSinkFile::getMaxFileSizeKB | ( | ) |
| void DynaOutputSinkFile::getNextFileName | ( | ) |
| int DynaOutputSinkFile::getRollingMaxKeep | ( | ) |
|
overridevirtual |
Reimplemented from DynaOutputSink.
| bool DynaOutputSinkFile::isOpen | ( | ) |
| bool DynaOutputSinkFile::open | ( | ) |
| void DynaOutputSinkFile::setMaxFileSizeKB | ( | uint32_t | maxSize | ) |
| void DynaOutputSinkFile::setPolicies | ( | uint16_t | policyBits | ) |
| void DynaOutputSinkFile::setRollingMaxKeep | ( | int | maxKeepFiles | ) |
| void DynaOutputSinkFile::shuffleFileNames | ( | String & | fileName, |
| int | index | ||
| ) |
1.8.13