Skip to content

Commit acd4a0e

Browse files
authored
Fix the documention comments (#3371)
1 parent f987c9c commit acd4a0e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

api/include/opentelemetry/logs/logger.h

+9-9
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ class Logger
4242
/**
4343
* Emit a Log Record object
4444
*
45-
* @param log_record
45+
* @param log_record Log record
4646
*/
4747
virtual void EmitLogRecord(nostd::unique_ptr<LogRecord> &&log_record) noexcept = 0;
4848

4949
/**
5050
* Emit a Log Record object with arguments
5151
*
5252
* @param log_record Log record
53-
* @tparam args Arguments which can be used to set data of log record by type.
53+
* @param args Arguments which can be used to set data of log record by type.
5454
* Severity -> severity, severity_text
5555
* string_view -> body
5656
* AttributeValue -> body
@@ -96,7 +96,7 @@ class Logger
9696
/**
9797
* Emit a Log Record object with arguments
9898
*
99-
* @tparam args Arguments which can be used to set data of log record by type.
99+
* @param args Arguments which can be used to set data of log record by type.
100100
* Severity -> severity, severity_text
101101
* string_view -> body
102102
* AttributeValue -> body
@@ -120,7 +120,7 @@ class Logger
120120

121121
/**
122122
* Writes a log with a severity of trace.
123-
* @tparam args Arguments which can be used to set data of log record by type.
123+
* @param args Arguments which can be used to set data of log record by type.
124124
* string_view -> body
125125
* AttributeValue -> body
126126
* SpanContext -> span_id,trace_id and trace_flags
@@ -144,7 +144,7 @@ class Logger
144144

145145
/**
146146
* Writes a log with a severity of debug.
147-
* @tparam args Arguments which can be used to set data of log record by type.
147+
* @param args Arguments which can be used to set data of log record by type.
148148
* string_view -> body
149149
* AttributeValue -> body
150150
* SpanContext -> span_id,trace_id and trace_flags
@@ -168,7 +168,7 @@ class Logger
168168

169169
/**
170170
* Writes a log with a severity of info.
171-
* @tparam args Arguments which can be used to set data of log record by type.
171+
* @param args Arguments which can be used to set data of log record by type.
172172
* string_view -> body
173173
* AttributeValue -> body
174174
* SpanContext -> span_id,trace_id and trace_flags
@@ -192,7 +192,7 @@ class Logger
192192

193193
/**
194194
* Writes a log with a severity of warn.
195-
* @tparam args Arguments which can be used to set data of log record by type.
195+
* @param args Arguments which can be used to set data of log record by type.
196196
* string_view -> body
197197
* AttributeValue -> body
198198
* SpanContext -> span_id,trace_id and trace_flags
@@ -216,7 +216,7 @@ class Logger
216216

217217
/**
218218
* Writes a log with a severity of error.
219-
* @tparam args Arguments which can be used to set data of log record by type.
219+
* @param args Arguments which can be used to set data of log record by type.
220220
* string_view -> body
221221
* AttributeValue -> body
222222
* SpanContext -> span_id,trace_id and trace_flags
@@ -240,7 +240,7 @@ class Logger
240240

241241
/**
242242
* Writes a log with a severity of fatal.
243-
* @tparam args Arguments which can be used to set data of log record by type.
243+
* @param args Arguments which can be used to set data of log record by type.
244244
* string_view -> body
245245
* AttributeValue -> body
246246
* SpanContext -> span_id,trace_id and trace_flags

0 commit comments

Comments
 (0)