Methods
getCategoriesStorageNS() → {StorageNamespace}
Get the categories {StorageNamespace}.
External entities should not directly store anything in this namespace.
- Source:
- See:
Returns:
See https://github.com/jenkinsci/js-storage.
- Type
- StorageNamespace
logger(category) → {Logger}
Create a {Logger} instance for the specified category.
Parameters:
Name | Type | Description |
---|---|---|
category |
string | The category name. Use dot separated naming convention to create a category hierarchy (ala Log4J). |
Returns:
The {Logger} instance.
- Type
- Logger
setLogLevel(category, level)
Set the log {Level} for a logging category.
Parameters:
Name | Type | Description |
---|---|---|
category |
string | The category name. Use dot separated naming convention to create a category hierarchy (ala Log4J). |
level |
Level | The logging level for the category. |