Package psiprobe.tools.logging
Interface LogDestination
-
- All Known Implementing Classes:
AbstractLogDestination
,CatalinaLoggerAccessor
,DisconnectedLogDestination
,FileLogAccessor
,Jdk14FileHandlerAccessor
,Jdk14HandlerAccessor
,JuliHandlerAccessor
,Log4J2AppenderAccessor
,Log4JAppenderAccessor
,LogbackAppenderAccessor
,TomcatSlf4jLogbackAppenderAccessor
public interface LogDestination
The Interface LogDestination.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Application
getApplication()
Gets the application.String
getConversionPattern()
Gets the conversion pattern.String
getEncoding()
Gets the encoding of the file.File
getFile()
Gets the file.String
getIndex()
Gets the index.Timestamp
getLastModified()
Gets the last modified.String
getLevel()
Gets the level.String
getLogType()
Type of the log, e.g.String
getName()
Gets the name.long
getSize()
Gets the size.String
getTargetClass()
Gets the target class.String[]
getValidLevels()
Gets the valid levels.boolean
isContext()
Checks if is context.boolean
isRoot()
Checks if is root.
-
-
-
Method Detail
-
getApplication
Application getApplication()
Gets the application.- Returns:
- the application
-
isRoot
boolean isRoot()
Checks if is root.- Returns:
- true, if is root
-
isContext
boolean isContext()
Checks if is context.- Returns:
- true, if is context
-
getName
String getName()
Gets the name.- Returns:
- the name
-
getIndex
String getIndex()
Gets the index.- Returns:
- the index
-
getTargetClass
String getTargetClass()
Gets the target class.- Returns:
- the target class
-
getConversionPattern
String getConversionPattern()
Gets the conversion pattern.- Returns:
- the conversion pattern
-
getFile
File getFile()
Gets the file.- Returns:
- the file
-
getSize
long getSize()
Gets the size.- Returns:
- the size
-
getLastModified
Timestamp getLastModified()
Gets the last modified.- Returns:
- the last modified
-
getLogType
String getLogType()
Type of the log, e.g. "log4j", "jdk", "commons-" etc.- Returns:
- the class of the log
-
getLevel
String getLevel()
Gets the level.- Returns:
- the level
-
getValidLevels
String[] getValidLevels()
Gets the valid levels.- Returns:
- the valid levels
-
getEncoding
String getEncoding()
Gets the encoding of the file.- Returns:
- the encoding name
-
-