Files
loongoffice/offapi/com/sun/star/logging/SimpleTextFormatter.idl
Samuel Mehrbrodt e4583f1ce8 Introduce SimpleTextFormatter and format unopkg output using it
This will write log messages as plain text (no timestamp and other stuff
like PlainTextFormatter).
Warnings and errors will be prefixed accordingly.

Change-Id: Id82512d7dd3907a4c7cd69a963a375966189dc20
Reviewed-on: https://gerrit.libreoffice.org/62370
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-10-26 10:22:36 +02:00

50 lines
1.6 KiB
Plaintext

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef __com_sun_star_logging_SimpleTextFormatter_idl__
#define __com_sun_star_logging_SimpleTextFormatter_idl__
module com { module sun { module star { module logging {
interface XLogFormatter;
/** specifies a service which formats log records as single line plain text
<p>Every log record, as passed to XLogFormatter::format(), will
be formatted into a single text line, with just the log message being output.
If the loglevel is WARNING, or SEVERE, the line will be prefixed accordingly.</p>
@since LibreOffice 6.2
*/
service SimpleTextFormatter : XLogFormatter
{
/// creates a SimpleTextFormatter instance
create();
};
}; }; }; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */