Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/apache2/modperl_log.h
$ cat -n /usr/include/apache2/modperl_log.h 1 /* Licensed to the Apache Software Foundation (ASF) under one or more 2 * contributor license agreements. See the NOTICE file distributed with 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 6 * the License. You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef MODPERL_LOG_H 18 #define MODPERL_LOG_H 19 20 #include "modperl_common_log.h" 21 #include "modperl_apache_includes.h" 22 23 #define modperl_trace_level_set_apache(s, level) \ 24 modperl_trace_level_set(s->error_log, level); 25 26 #define modperl_log_warn(s, msg) \ 27 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s, "%s", msg) 28 29 #define modperl_log_error(s, msg) \ 30 ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "%s", msg) 31 32 #define modperl_log_notice(s, msg) \ 33 ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, s, "%s", msg) 34 35 #define modperl_log_debug(s, msg) \ 36 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, "%s", msg) 37 38 #define modperl_log_reason(r, msg, file) \ 39 ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, \ 40 "access to %s failed for %s, reason: %s", \ 41 file, \ 42 ap_get_remote_host(r->connection, \ 43 r->per_dir_config, REMOTE_NAME, \ 44 NULL), \ 45 msg) 46 47 #endif /* MODPERL_LOG_H */ 48 49 /* 50 * Local Variables: 51 * c-basic-offset: 4 52 * indent-tabs-mode: nil 53 * End: 54 */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™