L4Re Operating System Framework
Interface and Usage Documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
log
Go to the documentation of this file.
1// -*- Mode: C++ -*-
2// vim:ft=cpp
7/*
8 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
9 * Alexander Warg <warg@os.inf.tu-dresden.de>
10 * economic rights: Technische Universität Dresden (Germany)
11 *
12 * License: see LICENSE.spdx (in this directory or the directories above)
13 */
14#pragma once
15
16#include <l4/sys/vcon>
17
18namespace L4Re {
19
33class L4_EXPORT Log : public L4::Kobject_t<Log, L4::Vcon, L4::PROTO_EMPTY>
34{
35public:
36
43 void printn(char const *string, int len) const noexcept;
44
50 void print(char const *string) const noexcept;
51};
52}
Log interface class.
Definition log:34
void print(char const *string) const noexcept
Print NULL-terminated string.
void printn(char const *string, int len) const noexcept
Print string with length len, NULL characters don't matter.
Helper class to create an L4Re interface class that is derived from a single base class.
Definition __typeinfo.h:750
#define L4_EXPORT
Attribute to mark functions, variables, and data types as being exported from a library.
Definition compiler.h:210
L4Re C++ Interfaces.
Definition cmd_control:14
C++ Virtual console interface.