Package overit.geocall.util
Class Logs
java.lang.Object
overit.geocall.util.Logs
- All Implemented Interfaces:
Serializable,overit.geocall.marks.FieldExposer
This class contains the static costants that define the Log channels.
Every application can use these self-explanatory static costant to indicate
the Log notifications content.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LogChannelDeprecated.static LoggetLog()Deprecated.static LogDeprecated.static voidDeprecated.this exceptions will be untraceable and uncostumizable.
-
Field Details
-
_configuration
-
-
Constructor Details
-
Logs
public Logs()
-
-
Method Details
-
getLog
Deprecated.Returns the log of the system- Parameters:
name- Not used- Returns:
- The log of the system
-
getLog
Deprecated.Returns the log of the system- Returns:
- The log of the system
-
forClass
Deprecated.useLogChannel.forClass(java.lang.Class)insteadThis method can be called to inizialize and get aLogChannelfor the passed class. The recommendation is to use it in static contexts to initialize a local static log channel for the class- Parameters:
c- the class for which you are requesting the LogChannel- Returns:
- LogChannel for c
-
printStackTrace
Deprecated.this exceptions will be untraceable and uncostumizable. Use a custom logger to track exceptionsUtility method to print the exception stack trace in the error channel. Avoid this method and use a local logger instead- Parameters:
e- exception to log.
-
LogChannel.forClass(java.lang.Class)instead