Skip to content

Commit c00f6af

Browse files
committed
remove left-over debugLog() etc.
1 parent e79da93 commit c00f6af

File tree

2 files changed

+1
-32
lines changed

2 files changed

+1
-32
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ All notable changes to `:vips` will be documented in this file.
88
- switch to PSR2 formatting [Kleis Auke Wolthuizen]
99
- add sig.php example [John Cupitt]
1010
- add Vips\Image::debugLogger() sample logger [John Cupitt]
11+
- added Vips\Config and Vips\Utils
1112

1213
### Deprecated
1314
- removed `\Enum` from enum names

src/Config.php

-32
Original file line numberDiff line numberDiff line change
@@ -86,38 +86,6 @@ public static function getLogger()
8686
return self::$logger;
8787
}
8888

89-
/**
90-
* Log a debug message.
91-
*
92-
* @param string $name The method creating the messages.
93-
* @param array $arguments The method arguments.
94-
*
95-
* @return void
96-
*/
97-
public static function debugLog(string $name, array $arguments)
98-
{
99-
$logger = self::getLogger();
100-
if ($logger) {
101-
$logger->debug($name, $arguments);
102-
}
103-
}
104-
105-
/**
106-
* Log an error message.
107-
*
108-
* @param string $message The error message.
109-
* @param \Exception $exception The exception.
110-
*
111-
* @return void
112-
*/
113-
public static function errorLog(string $message, \Exception $exception)
114-
{
115-
$logger = self::getLogger();
116-
if ($logger) {
117-
$logger->error($message, ['exception' => $exception]);
118-
}
119-
}
120-
12189
/**
12290
* Set the maximum number of operations to hold in the libvips operation
12391
* cache.

0 commit comments

Comments
 (0)