Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Concepts: Logging

Joe Hegarty edited this pageMay 2, 2016 ·1 revision

Overview

Orbit uses slf4j internally to implement logging. Additionally orbit exposes logging custom logging to actors.Please Note: Orbit does not include an slf4j implementation by default so logging will be inactive unless a logging provider is supplied.

Using Logging

Logging In Actors

getLogger().info("Hello");

Enabling Logging

By default Orbit does not provide an slf4j implementation.Any slf4j provider will work so developers are able to choose whichever solution they like.

The most basic logging provider to include is the sl4j-simple provider implementation.

<dependency>    <groupId>org.slf4j</groupId>    <artifactId>slf4j-simple</artifactId>    <version>1.7.21</version></dependency>

Developed byElectronic Arts.Licensed under theBSD 3-Clause License.

Clone this wiki locally


[8]ページ先頭

©2009-2026 Movatter.jp