]> git.saurik.com Git - apple/system_cmds.git/blame - mach_init.tproj/error_log.h
system_cmds-230.tar.gz
[apple/system_cmds.git] / mach_init.tproj / error_log.h
CommitLineData
1815bff5
A
1/*
2 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * "Portions Copyright (c) 1999 Apple Computer, Inc. All Rights
7 * Reserved. This file contains Original Code and/or Modifications of
8 * Original Code as defined in and that are subject to the Apple Public
9 * Source License Version 1.0 (the 'License'). You may not use this file
10 * except in compliance with the License. Please obtain a copy of the
11 * License at http://www.apple.com/publicsource and read it before using
12 * this file.
13 *
14 * The Original Code and all software distributed under the License are
15 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
16 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
17 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
19 * License for the specific language governing rights and limitations
20 * under the License."
21 *
22 * @APPLE_LICENSE_HEADER_END@
23 */
24/*
25 * bootstrap -- fundamental service initiator and port server
26 * Mike DeMoney, NeXT, Inc.
27 * Copyright, 1990. All rights reserved.
28 *
29 * error_log.h -- interface to logging routines
30 */
31
32#import <mach/mach.h>
33
b51d5b5f
A
34extern void init_errlog(boolean_t);
35extern void stop_errlog(void);
36extern void close_errlog(void);
1815bff5
A
37extern void debug(const char *format, ...);
38extern void info(const char *format, ...);
39extern void log(const char *format, ...);
40extern void error(const char *format, ...);
41extern void kern_error(kern_return_t result, const char *format, ...);
42extern void parse_error(const char *token_string, const char *format, ...);
43extern void unix_error(const char *msg, ...);
44extern void fatal(const char *msg, ...);
45extern void kern_fatal(kern_return_t result, const char *msg, ...);
46extern void unix_fatal(const char *msg, ...);
1815bff5 47