// SPDX-License-Identifier: MPL-2.0 // Copyright © 2020 Skyline Team and Contributors (https://github.com/skyline-emu/) #pragma once #include namespace skyline::service::lm { /** * @brief ILogService is used by applications to open an ILogger for printing log messages * @url https://switchbrew.org/wiki/Log_services#lm */ class ILogService : public BaseService { public: ILogService(const DeviceState &state, ServiceManager &manager); /** * @brief Opens an ILogger that can be used by applications to print log messages * @url https://switchbrew.org/wiki/Log_services#OpenLogger */ Result OpenLogger(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); SERVICE_DECL( SFUNC(0x0, ILogService, OpenLogger) ) }; }