# Overview

This library contains an implementation of logging library.

# Usage

Add the following line to your `module.ivy`:
	
    <dependency org="ej.library.eclasspath" name="logging" rev="1.3.0"/>

## Known limitations (J2SE compliance)

The implementation diverges from the J2SE reference implementation on the following points:

- `Logger.getAnonymousLogger()` sets the logger level to `ALL`; on J2SE the level is left null and the effective
  level is inherited from the root logger.
- `Logger.getLogger` lower-cases the logger name and the `LogManager` registry is case-insensitive; on J2SE names
  are case-sensitive and returned as given.
- `Logger.throwing()` logs `<sourceClass>.<sourceMethod>` as the record message; on J2SE the message is the constant
  `THROW` (the source class and method are carried by the record source fields).

# Requirements

This library requires the following Foundation Libraries:

    BON-1.4, EDC-1.3

# Dependencies

_All dependencies are retrieved transitively by MicroEJ Module Manager_.

# Source

  - Open JDK 8u20

# Restrictions

None.


---  
_Markdown_  
_Copyright 2017-2026 MicroEJ Corp. - EDC compliance and optimizations._  
_Build: 7E4D1F7C_  
_DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER._  
_ _  
_This code is free software; you can redistribute it and/or modify it_  
_under the terms of the GNU General Public License version 2 only, as_  
_published by the Free Software Foundation._  
_ _  
_This code is distributed in the hope that it will be useful, but WITHOUT_  
_ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or_  
_FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License_  
_version 2 for more details (a copy is included in the LICENSE file that_  
_accompanied this code)._  
_ _  
_You should have received a copy of the GNU General Public License version_  
_2 along with this work; if not, write to the Free Software Foundation,_  
_Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA._  
_ _  
_Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA_  
_or visit www.oracle.com if you need additional information or have any_  
_questions._  