Skip to content

Commit b8ea835

Browse files
committed
misc(test): use php' native syslog priority consts
1 parent 948921d commit b8ea835

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

testdata/logging.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
frankenphp_log_message("testing emerg as ERROR", 0);
4-
frankenphp_log_message("testing alert as ERROR", 1);
5-
frankenphp_log_message("testing crit as ERROR", 2);
6-
frankenphp_log_message("testing error as ERROR", 3);
7-
frankenphp_log_message("testing warning as WARN", 4);
8-
frankenphp_log_message("testing notice as INFO", 5);
9-
frankenphp_log_message("testing info as INFO", 6);
10-
frankenphp_log_message("testing debug as DEBUG", 7);
3+
frankenphp_log_message("testing emerg as ERROR", LOG_EMERG);
4+
frankenphp_log_message("testing alert as ERROR", LOG_ALERT);
5+
frankenphp_log_message("testing crit as ERROR", LOG_CRIT);
6+
frankenphp_log_message("testing error as ERROR", LOG_ERR);
7+
frankenphp_log_message("testing warning as WARN", LOG_WARNING);
8+
frankenphp_log_message("testing notice as INFO", LOG_NOTICE);
9+
frankenphp_log_message("testing info as INFO", LOG_INFO);
10+
frankenphp_log_message("testing debug as DEBUG", LOG_DEBUG);

0 commit comments

Comments
 (0)