180bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
280bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru/*
380bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru * Copyright 2006 The Android Open Source Project
480bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru *
580bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru * Use of this source code is governed by a BSD-style license that can be
680bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru * found in the LICENSE file.
780bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru */
880bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
980bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
1080bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#include "SkTypes.h"
1180bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
1280bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#include <stdarg.h>
1380bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#include <stdio.h>
1480bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
1580bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queruvoid SkDebugf(const char format[], ...) {
1680bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    va_list args;
1780bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    va_start(args, format);
18096defe64d408e54474fe19f418c95bf1a554fc7Derek Sollenberger    vfprintf(stderr, format, args);
1980bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    va_end(args);
2080bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru}
21