diff --git a/include/spdlog/details/pattern_formatter.h b/include/spdlog/details/pattern_formatter.h index 429a6c3c..9bc34a55 100644 --- a/include/spdlog/details/pattern_formatter.h +++ b/include/spdlog/details/pattern_formatter.h @@ -760,7 +760,6 @@ public: class ch_formatter final : public flag_formatter { -public: public: explicit ch_formatter(char ch) : ch_(ch) @@ -825,7 +824,7 @@ public: } }; -// print soruce location +// print source location class source_location_formatter final : public flag_formatter { public: @@ -854,7 +853,7 @@ public: } } }; -// print soruce filename +// print source filename class source_filename_formatter final : public flag_formatter { public: diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index c7c2966f..3dbaaa64 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -78,7 +78,7 @@ public: void log(level::level_enum lvl, const wchar_t *fmt, const Args &... args); template - void log(source_loc soruce, level::level_enum lvl, const wchar_t *fmt, const Args &... args); + void log(source_loc source, level::level_enum lvl, const wchar_t *fmt, const Args &... args); template void trace(const wchar_t *fmt, const Args &... args);