Package org.onebusaway.util.logging
Interface LoggingService
-
- All Known Implementing Classes:
LoggingServiceImpl
public interface LoggingService
Service interface to log system actions to a central server.- Author:
- abelsare
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
log(String component, org.apache.logging.log4j.Level priority, String message)
Logs the given message to central log location.
-
-
-
Method Detail
-
log
String log(String component, org.apache.logging.log4j.Level priority, String message)
Logs the given message to central log location. Makes an API call to TDM which in turn persists this message in the database.- Parameters:
component
- The chef component/role that initiated this actionpriority
- message priority/severitymessage
- the actual message to log- Returns:
- response from remote server
-
-