You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/InfoLogger/InfoLogger.hxx
+2-8Lines changed: 2 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ class InfoLoggerContext final
74
74
/// Update context from current environment information of a different process.
75
75
/// This is used internally by command line 'log' utility to tag messages issued by parent process
76
76
/// or on stdout by a program which output is piped to stdin of current process and injected in infologger.
77
-
/// Fields previously set by user may be overwritten.
77
+
/// Fields previously set by user are overwritten.
78
78
voidrefresh(pid_t pid);
79
79
80
80
@@ -95,13 +95,6 @@ class InfoLoggerContext final
95
95
// this simplifies interface to have a single type
96
96
// some fields (e.g. run, pid) are stored as integers, but conversion is done by setField
97
97
// A field with a blank value (zero-length string) is undefined.
98
-
99
-
/// Set given field (provided field name and value are strings)
100
-
/// \param key The field name to be set. Valid field names are the strings corresponding to what is defined in the FieldName enum: Facility, Role, System, Detector, Partition, Run
101
-
/// \param value The value of the field, as a string. This function can be called for any field (string or integer). Conversion will be done whenever needed (string->int).
102
-
/// \return 0 on success, an error code otherwise (but never throw exceptions).
/// Set a field in a message option struct based on its name.
236
229
/// If input fieldName valid, and input fieldValue can be parsed, ouput variable is modified accordingly.
230
+
/// If fieldValue is blank (zero-length string), the default value is used for the corresponding field.
237
231
/// List of valid field names are the strings (1st letter capitalized) corresponding to what is defined in the InfoLoggerMessageOption struct: Severity, Level, ErrorCode, SourceFile, SourceLine
238
232
/// \return 0 on success, an error code otherwise.
0 commit comments