ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
consolelogger.cpp
1// #################################################################################################
2// alib::lox::loggers - ALox Logging Library
3//
4// Copyright 2013-2024 A-Worx GmbH, Germany
5// Published under 'Boost Software License' (a free software license, see LICENSE.txt)
6// #################################################################################################
8
9#if !DOXYGEN
11#endif // !DOXYGEN
12
13
14using namespace alib;
15
17{
18 if ( phase == lang::Phase::End )
19 std::cout << std::endl;
20 return true;
21}
22
24{
25 return writer.WriteAndGetWideLength( buffer.Substring<NC>( start, length ) );
26}
27
StringWriter writer
The encapsulated output stream.
virtual ALIB_API integer logSubstring(const String &buffer, integer start, integer length) override
virtual ALIB_API bool notifyLogOp(lang::Phase phase) override
TString< TChar > Substring(integer regionStart, integer regionLength=MAX_LEN) const
Definition string.hpp:406
ALIB_API integer WriteAndGetWideLength(const NString &src)
Phase
Denotes a phase, e.g.,of a transaction.
@ End
The end of a transaction.
Definition alib.cpp:69
lang::integer integer
Type alias in namespace alib.
Definition integers.hpp:273