ALib C++ Library
Library Version: 2402 R1
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 !defined(ALIB_DOX)
10#if !defined(HPP_ALOX_CONSOLE_LOGGER)
12#endif
13#endif // !defined(ALIB_DOX)
14
15
16using namespace alib;
17
19{
20 if ( phase == lang::Phase::End )
21 std::cout << std::endl;
22 return true;
23}
24
26{
27 return writer.WriteAndGetWideLength( buffer.Substring<false>( start, length ) );
28}
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:314
@ End
The end of a transaction.
Definition alib.cpp:57
lang::integer integer
Type alias in namespace alib.
Definition integers.hpp:286