Flutter Engine
The Flutter Engine
third_party
dart-lang
sdk
pkg
vm_service
java
src
org
dartlang
vm
service
logging
Logging.java
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2014, the Dart project authors.
3
*
4
* Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except
5
* in compliance with the License. You may obtain a copy of the License at
6
*
7
* http://www.eclipse.org/legal/epl-v10.html
8
*
9
* Unless required by applicable law or agreed to in writing, software distributed under the License
10
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
* or implied. See the License for the specific language governing permissions and limitations under
12
* the License.
13
*/
14
package
org.dartlang.vm.service.logging;
15
16
/**
17
* {@code Logging} provides a global instance of {@link Logger}.
18
*/
19
public
class
Logging
{
20
21
private
static
Logger
logger =
Logger
.
NULL
;
22
23
public
static
Logger
getLogger
() {
24
return
logger;
25
}
26
27
public
static
void
setLogger
(
Logger
logger) {
28
Logging.logger = logger ==
null
? Logger.NULL : logger;
29
}
30
}
org.dartlang.vm.service.logging.Logging
Definition:
Logging.java:19
org.dartlang.vm.service.logging.Logging.getLogger
static Logger getLogger()
Definition:
Logging.java:23
org.dartlang.vm.service.logging.Logging.setLogger
static void setLogger(Logger logger)
Definition:
Logging.java:27
org.dartlang.vm.service.logging.Logger
Definition:
Logger.java:21
org.dartlang.vm.service.logging.Logger.NULL
static final Logger NULL
Definition:
Logger.java:44
Generated on Sun Jun 23 2024 21:55:22 for Flutter Engine by
1.9.4