Форматирование кода

This commit is contained in:
Andrei Astafev 2019-10-21 20:35:50 +03:00
parent 671f0f3ec4
commit 18ecd62eb7
7 changed files with 57 additions and 57 deletions

View File

@ -234,16 +234,16 @@ whereami_path_t::operator const whereami_string_t&() const
#endif // if defined( WHEREAMI_CXX11 )
#if defined( WHEREAMI_CXX11 )
whereami_path_t::whereami_path_t( whereami_string_t&& path, int dirname_length ) noexcept
: m_path( std::move( path ) ),
whereami_path_t::whereami_path_t( whereami_string_t&& path, int dirname_length ) noexcept :
m_path ( std::move( path ) ),
m_dirnameLength( dirname_length )
{
}
#else
whereami_path_t::whereami_path_t( whereami_string_t& path, int dirname_length )
: m_path( path ),
whereami_path_t::whereami_path_t( whereami_string_t& path, int dirname_length ) :
m_path ( path ),
m_dirnameLength( dirname_length )
{
}

View File

@ -9,21 +9,21 @@ Logger default_logger( "default" );
Logger::Logger( std::string name ) :
m_logger( nullptr ),
m_name( std::move( name ) ),
m_outputPattern( "[%H:%M:%S %z] [%n] [%^---%L---%$] %v" ),
m_baseFileName( "default" ),
m_maxRotatingFileSize( rotatingFileSize ),
m_logger ( nullptr ),
m_name ( std::move( name ) ),
m_outputPattern ( "[%H:%M:%S %z] [%n] [%^---%L---%$] %v" ),
m_baseFileName ( "default" ),
m_maxRotatingFileSize ( rotatingFileSize ),
m_maxRotatingFilesCount( 3 ),
m_outputLevel( spdlog::level::trace ),
m_flushLevel( spdlog::level::warn ),
m_nullSink( nullptr ),
m_stdoutSink( nullptr ),
m_stderrSink( nullptr ),
m_syslogSink( nullptr ),
m_basicFileSink( nullptr ),
m_rotatingFileSink( nullptr ),
m_dailyFileSink( nullptr )
m_outputLevel ( spdlog::level::trace ),
m_flushLevel ( spdlog::level::warn ),
m_nullSink ( nullptr ),
m_stdoutSink ( nullptr ),
m_stderrSink ( nullptr ),
m_syslogSink ( nullptr ),
m_basicFileSink ( nullptr ),
m_rotatingFileSink ( nullptr ),
m_dailyFileSink ( nullptr )
{
m_logger = std::make_shared< spdlog::logger >( m_name, nullptr );
m_logger->sinks().clear();