1266987Smarkj/* 2266987Smarkj * This file and its contents are supplied under the terms of the 3266987Smarkj * Common Development and Distribution License ("CDDL"), version 1.0. 4266987Smarkj * You may only use this file in accordance with the terms of version 5266987Smarkj * 1.0 of the CDDL. 6266987Smarkj * 7266987Smarkj * A full copy of the text of the CDDL should have accompanied this 8266987Smarkj * source. A copy of the CDDL is also available via the Internet at 9266987Smarkj * http://www.illumos.org/license/CDDL. 10266987Smarkj */ 11266987Smarkj 12266987Smarkj/* 13266987Smarkj * Copyright 2012, Joyent, Inc. All rights reserved. 14266987Smarkj */ 15266987Smarkj 16266987Smarkj/* 17266987Smarkj * Sets up a fake node-bunyan-like USDT provider for use from C. 18266987Smarkj */ 19266987Smarkj 20266987Smarkjprovider bunyan_fake { 21266987Smarkj probe log__trace(char *msg); 22266987Smarkj probe log__debug(char *msg); 23266987Smarkj probe log__info(char *msg); 24266987Smarkj probe log__warn(char *msg); 25266987Smarkj probe log__error(char *msg); 26266987Smarkj probe log__fatal(char *msg); 27266987Smarkj}; 28