virtual FileSystem::Result write(IOBuffer &buffer, Size &size, const Size offset)
Write bytes to the file.
void setMinimumLogLevel(Level level)
Set the minimum logging level.
virtual ~LogLevelFile()
Destructor.
LogLevelFile(const u32 inode)
Default constructor.
Size set(const long number, const Number::Base base=Number::Dec, char *string=ZERO)
Set text-representation of a signed number.
Represents a file present on a FileSystem.
FileSystem::FileModes m_access
Access permissions.
Abstract Input/Output buffer.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
static Log * instance()
Retrieve the instance.
Result
Result code for filesystem Actions.
Level getMinimumLogLevel()
Get the minimum logging level.
FileSystem::Result read(void *buffer, const Size size, const Size offset=ZERO)
Read bytes from the I/O buffer.
FileSystem::Result write(const void *buffer, const Size size, const Size offset=ZERO)
Write bytes to the I/O buffer.
virtual FileSystem::Result read(IOBuffer &buffer, Size &size, const Size offset)
Read bytes from the file.
long toLong(const Number::Base base=Number::Dec) const
Convert the String to a signed long integer.
Level
Logging level values.