DroidLogger Library

Android library project to simplify and wrap logging on Android.

Лицензия

Лицензия

Группа

Группа

de.devmob.android.logger
Идентификатор

Идентификатор

library
Последняя версия

Последняя версия

1.0.1
Дата

Дата

Тип

Тип

aar
Описание

Описание

DroidLogger Library
Android library project to simplify and wrap logging on Android.

Скачать library

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/de.devmob.android.logger/library/ -->
<dependency>
    <groupId>de.devmob.android.logger</groupId>
    <artifactId>library</artifactId>
    <version>1.0.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/de.devmob.android.logger/library/
implementation 'de.devmob.android.logger:library:1.0.1'
// https://jarcasting.com/artifacts/de.devmob.android.logger/library/
implementation ("de.devmob.android.logger:library:1.0.1")
'de.devmob.android.logger:library:aar:1.0.1'
<dependency org="de.devmob.android.logger" name="library" rev="1.0.1">
  <artifact name="library" type="aar" />
</dependency>
@Grapes(
@Grab(group='de.devmob.android.logger', module='library', version='1.0.1')
)
libraryDependencies += "de.devmob.android.logger" % "library" % "1.0.1"
[de.devmob.android.logger/library "1.0.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

DroidLogger

The DroidLogger is an Android library project to simplify and wrap logging on Android. An additional class allows string formatting of all kind of object types including null references and collections that don't have useful default toString methods.

Project overview

  • lib - The library project that can be referenced from an Android project.
  • sample - An Android demo app that demonstrates how to use and configure the DroidLogger.

How to use

  • Just log as known from android Log class, but using the Logger class

  • Or just use the ToStringFormatter utils to get a nice readable output of arrays, list, cursors, objects that may be null - whatever you are using

  • To avoid string cocatenating - even when the call is removed via preprocessor - use the extended logging calls, that allow multiple input values. These will only be added together if logging for this loglevel is enabled using the ToStringFormatter

  • Set the wanted log level with

    Logger.MIN_ACTIVATED_LOG_LEVEL = Log.DEBUG;

###Getting Started (Eclipse) Import the DroidLogger project to your workspace and add a reference to it from your project. All needed steps can be found at developer.android: Referencing a library project

Developed By

License

Copyright 2013 Friederike Wild

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Версии библиотеки

Версия
1.0.1
1.0.0