Ice 3.7 Slice API Reference
Main Page
Modules
Modules List
Module Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
y
Constants
Sequences
a
b
d
e
f
i
l
m
n
o
p
r
s
Dictionaries
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
n
o
p
r
t
u
w
y
Interfaces
Interface List
Interface Index
Interface Hierarchy
Classes
Class List
Class Index
Class Hierarchy
Structs
Struct List
Struct Index
Exceptions
Exception List
Exception Index
Exception Hierarchy
Files
File List
•
All
Classes
Interfaces
Structs
Exceptions
Modules
Files
Operations
Constants
Sequences
Dictionaries
Enumerations
Enumerator
Pages
Ice
Logger.ice
Go to the documentation of this file.
1
//
2
// Copyright (c) ZeroC, Inc. All rights reserved.
3
//
4
5
#pragma once
6
7
[[
"cpp:dll-export:ICE_API"
]]
8
[[
"cpp:doxygen:include:Ice/Ice.h"
]]
9
[[
"cpp:header-ext:h"
]]
10
11
[[
"ice-prefix"
]]
12
13
[[
"js:module:ice"
]]
14
[[
"js:cjs-module"
]]
15
16
[[
"objc:dll-export:ICE_API"
]]
17
[[
"objc:header-dir:objc"
]]
18
19
[[
"python:pkgdir:Ice"
]]
20
21
#ifndef __SLICE2JAVA_COMPAT__
22
[[
"java:package:com.zeroc"
]]
23
#endif
24
25
[
"objc:prefix:ICE"
]
26
module
Ice
27
{
28
35
local
interface
Logger
36
{
44
[
"swift:noexcept"
]
void
print
(
string
message);
45
55
[
"swift:noexcept"
]
void
trace
(
string
category,
string
message);
56
66
[
"swift:noexcept"
]
void
warning
(
string
message);
67
77
[
"swift:noexcept"
]
void
error
(
string
message);
78
86
[
"swift:noexcept"
]
string
getPrefix
();
87
96
[
"swift:noexcept"
,
"swift:nonnull"
]
Logger
cloneWithPrefix
(
string
prefix);
97
}
98
99
}
Ice::Logger::getPrefix
string getPrefix()
Returns this logger's prefix.
Ice::Logger::warning
void warning(string message)
Log a warning message.
Ice::Logger::cloneWithPrefix
Logger cloneWithPrefix(string prefix)
Returns a clone of the logger with a new prefix.
Ice::Logger::print
void print(string message)
Print a message.
Ice::Logger::error
void error(string message)
Log an error message.
Ice::Logger
The Ice message logger.
Definition:
Logger.ice:36
Ice::Logger::trace
void trace(string category, string message)
Log a trace message.
Ice
The Ice core library.
Definition:
BuiltinSequences.ice:27
Generated by
1.8.20