Breaking change to logger interface, remove Log prefix.

This commit is contained in:
Daniel Theophanes
2013-03-02 22:38:31 -08:00
parent 83aba983e4
commit 663a6abbf9
6 changed files with 23 additions and 23 deletions
+3 -3
View File
@@ -99,13 +99,13 @@ func (s *linuxUpstartService) Stop() error {
return cmd.Run()
}
func (s *linuxUpstartService) LogError(format string, a ...interface{}) error {
func (s *linuxUpstartService) Error(format string, a ...interface{}) error {
return s.logger.Err(fmt.Sprintf(format, a...))
}
func (s *linuxUpstartService) LogWarning(format string, a ...interface{}) error {
func (s *linuxUpstartService) Warning(format string, a ...interface{}) error {
return s.logger.Warning(fmt.Sprintf(format, a...))
}
func (s *linuxUpstartService) LogInfo(format string, a ...interface{}) error {
func (s *linuxUpstartService) Info(format string, a ...interface{}) error {
return s.logger.Info(fmt.Sprintf(format, a...))
}