public final class LogManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
deleteLogs(java.lang.String lst)
Delete logs from the repository.
|
static LogManager |
getInstance()
Retrive the lone instance of the
LogManager class. |
java.util.Enumeration |
getLogs(java.lang.String id,
java.lang.String type)
Retrieve all logs from the repository.
|
void |
setMaxSize(int max)
Set maximum log size of an object (Device, User etc)
|
public void deleteLogs(java.lang.String lst)
lst
- Comma separated log idspublic static LogManager getInstance()
LogManager
class.public java.util.Enumeration getLogs(java.lang.String id, java.lang.String type) throws ResourceException
id
- Log source idtype
- Log typejava.util.Enumeration
containing all logsResourceException
public void setMaxSize(int max)
max
- Maximum log size