Flutter Engine
The Flutter Engine
Classes | Public Member Functions | Static Public Attributes | List of all members
org.dartlang.vm.service.logging.Logger Interface Reference
Inheritance diagram for org.dartlang.vm.service.logging.Logger:
org.dartlang.vm.service.logging.Logger.NullLogger

Classes

class  NullLogger
 

Public Member Functions

void logError (String message)
 
void logError (String message, Throwable exception)
 
void logInformation (String message)
 
void logInformation (String message, Throwable exception)
 

Static Public Attributes

static final Logger NULL = new NullLogger()
 

Detailed Description

The interface Logger defines the behavior of objects that can be used to receive information about errors. Implementations usually write this information to a file, but can also record the information for later use (such as during testing) or even ignore the information.

Definition at line 21 of file Logger.java.

Member Function Documentation

◆ logError() [1/2]

void org.dartlang.vm.service.logging.Logger.logError ( String  message)

Log the given message as an error.

Parameters
messagean explanation of why the error occurred or what it means

Implemented in org.dartlang.vm.service.logging.Logger.NullLogger.

◆ logError() [2/2]

void org.dartlang.vm.service.logging.Logger.logError ( String  message,
Throwable  exception 
)

Log the given exception as one representing an error.

Parameters
messagean explanation of why the error occurred or what it means
exceptionthe exception being logged

Implemented in org.dartlang.vm.service.logging.Logger.NullLogger.

◆ logInformation() [1/2]

void org.dartlang.vm.service.logging.Logger.logInformation ( String  message)

Log the given informational message.

Parameters
messagean explanation of why the error occurred or what it means

Implemented in org.dartlang.vm.service.logging.Logger.NullLogger.

◆ logInformation() [2/2]

void org.dartlang.vm.service.logging.Logger.logInformation ( String  message,
Throwable  exception 
)

Log the given exception as one representing an informational message.

Parameters
messagean explanation of why the error occurred or what it means
exceptionthe exception being logged

Implemented in org.dartlang.vm.service.logging.Logger.NullLogger.

Member Data Documentation

◆ NULL

final Logger org.dartlang.vm.service.logging.Logger.NULL = new NullLogger()
static

Definition at line 44 of file Logger.java.


The documentation for this interface was generated from the following file: