We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5b7481 commit ef7f35aCopy full SHA for ef7f35a
1 file changed
src/WsLog.php
@@ -36,6 +36,13 @@ public static function d( string $text ): void {
36
self::l( $text, 'debug' );
37
}
38
39
+ /**
40
+ * Log an error message
41
+ */
42
+ public static function e( string $text ): void {
43
+ self::l( $text, 'error' );
44
+ }
45
+
46
/**
47
* Log an error message and return a throwable exception
48
*
@@ -49,7 +56,7 @@ public static function ex(
49
56
int $code = 0,
50
57
?Throwable $previous = null
51
58
): StaticDeployException {
52
- self::l( $message, 'error' );
59
+ self::e( $message );
53
60
return new StaticDeployException(
54
61
$message,
55
62
$code,
0 commit comments