Logger instances.
Loggers are identified by their scope name, version, and schema URL. These identifying
fields, along with attributes, combine to form the instrumentation scope, which is attached to
all log records produced by the Logger.
| Modifier and Type | Method and Description |
|---|---|
| public Logger | |
| public LoggerBuilder | Returns: thisThe instrumentation scope version. instrumentationScopeVersion)Sets the instrumentation scope version of the resulting |
| public LoggerBuilder | Returns: thisThe schema URL. schemaUrl)Set the scope schema URL of the resulting |
| build | back to summary |
|---|---|
| public Logger build() Gets or creates a | |
| setInstrumentationVersion | back to summary |
|---|---|
| public LoggerBuilder setInstrumentationVersion(String instrumentationScopeVersion) Sets the instrumentation scope version of the resulting
| |
| setSchemaUrl | back to summary |
|---|---|
| public LoggerBuilder setSchemaUrl(String schemaUrl) Set the scope schema URL of the resulting
| |