Axis2/C: axutil_log_default.h Source File

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# axutil_log_default.h

    00001
    00002 /*
    00003  * Licensed to the Apache Software Foundation (ASF) under one or more
    00004  * contributor license agreements.  See the NOTICE file distributed with
    00005  * this work for additional information regarding copyright ownership.
    00006  * The ASF licenses this file to You under the Apache License, Version 2.0
    00007  * (the "License"); you may not use this file except in compliance with
    00008  * the License.  You may obtain a copy of the License at
    00009  *
    00010  *      http://www.apache.org/licenses/LICENSE-2.0
    00011  *
    00012  * Unless required by applicable law or agreed to in writing, software
    00013  * distributed under the License is distributed on an "AS IS" BASIS,
    00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00015  * See the License for the specific language governing permissions and
    00016  * limitations under the License.
    00017  */
    00018
    00019 #ifndef AXUTIL_LOG_DEFAULT_H
    00020 #define AXUTIL_LOG_DEFAULT_H
    00021
    00022 #include <stdlib.h>
    00023 #include <stdarg.h>
    00024 #include <axutil_log.h>
    00025 #include <axutil_allocator.h>
    00026
    00027 #ifdef __cplusplus
    00028 extern "C"
    00029 {
    00030 #endif
    00031
    00038 #define AXIS2_LEN_VALUE 6000
    00039
    00045     AXIS2_EXTERN axutil_log_t *AXIS2_CALL
    00046     axutil_log_create(
    00047         axutil_allocator_t * allocator,
    00048         axutil_log_ops_t * ops,
    00049         const axis2_char_t * stream_name);
    00050     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00051     axutil_log_impl_get_time_str(
    00052         void);
    00053
    00054     AXIS2_EXTERN axutil_log_t *AXIS2_CALL
    00055     axutil_log_create_default(
    00056         axutil_allocator_t * allocator);
    00057
    00060 #ifdef __cplusplus
    00061 }
    00062 #endif
    00063
    00064 #endif                          /* AXIS2_LOG_DEFAULT_H */