1212#include < utility>
1313
1414
15- // cross platform function to return the function name
15+ // cross- platform function to return the function name
1616#if defined(__clang__) || defined(__GNUC__)
1717 #define FUNCTION_NAME __PRETTY_FUNCTION__
1818#elif defined(_MSC_VER)
@@ -45,7 +45,7 @@ class GLogger {
4545 * @brief Constructs a GLogger instance.
4646 * @param gopts Shared Pointer to GOptions instance used for verbosity/debug lookup.
4747 * @param vname The verbosity or debug name is a string used to identify the logger and as header for all messages
48- * @param cc The calling class name, used to identify the source of the log messages.
48+ * @param desc The calling class name, used to identify the source of the log messages.
4949 */
5050 explicit GLogger (const std::shared_ptr<GOptions>& gopts, const std::string& vname, const std::string& desc = " " )
5151 : verbosity_name(vname), description(desc), log_counter{0 } {
@@ -106,7 +106,7 @@ class GLogger {
106106 */
107107 template <typename ... Args>
108108 void info (int level, Args&&... args) const {
109- // error if level is not 0, 1 or 2
109+ // error if the level is not 0, 1 or 2
110110 if (level != 0 && level != 1 && level != 2 ) {
111111 G4cerr << FATALERRORL << header_string () << GWARNING << " Invalid verbosity level requested: " << level <<
112112 RST << G4endl;
@@ -121,7 +121,7 @@ class GLogger {
121121 }
122122
123123 /* *
124- * @brief Overloaded version of info() with default level = 0.
124+ * @brief Overloaded version of info() with the default level = 0.
125125 *
126126 * @tparam Args Variadic template parameters for any streamable types.
127127 * @param args Streamable message components.
0 commit comments