Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Ceylon logging should support loggers with class name #695

@dlkw

Description

@dlkw

The ceylon.logging::logger function accepts an argument with type

shared alias Category => Module|Package;

I suggest adding ceylon.language.meta.declaration::ClassDeclaration to the accepted argument types, so a logger can have a class-specific name (as is usual in Java) when created as

Logger log = logger(`class`);

inside a class or member class. Not having class-specific names for loggers makes reading the log more difficult: only the module or even package name is rather coarse to get an idea where the log entry was produced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions