Skip to content

Commit

Permalink
Logger::Append has the ability to return a scoped tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Epixu committed Dec 3, 2024
1 parent adc8b92 commit 25d31dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/Logger.inl
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ namespace Langulus::Logger
template<class...T> LANGULUS(INLINED)
decltype(auto) Append(T&&...arguments) noexcept {
if constexpr (sizeof...(arguments) > 0)
(Instance << ... << ::std::forward<T>(arguments));
return (Instance);
return (Instance << ... << ::std::forward<T>(arguments));
else
return (Instance);
}

/// Write a section on a new line, tab all consecutive lines, bold it,
Expand Down

0 comments on commit 25d31dd

Please sign in to comment.