f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow/*
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * This file and its contents are supplied under the terms of the
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * Common Development and Distribution License ("CDDL"), version 1.0.
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * You may only use this file in accordance with the terms of version
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * 1.0 of the CDDL.
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow *
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * A full copy of the text of the CDDL should have accompanied this
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * source. A copy of the CDDL is also available via the Internet at
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * http://www.illumos.org/license/CDDL.
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow */
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow/*
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * Copyright 2012, Joyent, Inc. All rights reserved.
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow */
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow/*
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * Sets up a fake node-bunyan-like USDT provider for use from C.
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow */
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulowprovider bunyan_fake {
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow probe log__trace(char *msg);
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow probe log__debug(char *msg);
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow probe log__info(char *msg);
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow probe log__warn(char *msg);
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow probe log__error(char *msg);
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow probe log__fatal(char *msg);
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow};