Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 :
10 : #include "sal/config.h"
11 :
12 : #include <cstdarg>
13 :
14 : #include "osl/diagnose.h"
15 : #include "sal/detail/log.h"
16 : #include "sal/log.hxx"
17 :
18 : #include "logformat.hxx"
19 :
20 0 : void osl_trace(char const * pszFormat, ...) {
21 : std::va_list args;
22 0 : va_start(args, pszFormat);
23 : osl::detail::logFormat(
24 0 : SAL_DETAIL_LOG_LEVEL_INFO, "legacy.osl", SAL_WHERE, pszFormat, args);
25 0 : va_end(args);
26 0 : }
27 :
28 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|