You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/01/07 01:51:00 UTC

[jira] [Work logged] (LOG4J2-3310) maybe some log4j-api-scala methods should be changed back to being macros

     [ https://issues.apache.org/jira/browse/LOG4J2-3310?focusedWorklogId=704872&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-704872 ]

ASF GitHub Bot logged work on LOG4J2-3310:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Jan/22 01:50
            Start Date: 07/Jan/22 01:50
    Worklog Time Spent: 10m 
      Work Description: jvz merged pull request #13:
URL: https://github.com/apache/logging-log4j-scala/pull/13


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 704872)
    Remaining Estimate: 0h
            Time Spent: 10m

> maybe some log4j-api-scala methods should be changed back to being macros
> -------------------------------------------------------------------------
>
>                 Key: LOG4J2-3310
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3310
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Scala API
>            Reporter: PJ Fanning
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In hindsight, I suspect that I went too far in LOG4J2-3184 with changing methods that used macros into ones that just delegated to base logger at runtime.
> These methods are among those that possibly should be macro based, as it might be nice to adjust the pre-compiled code to add the level isEnabled check.
>  
> def apply(inline level: Level, inline marker: Marker, inline message: Message): Unit
> def apply(inline level: Level, inline marker: Marker, inline message: AnyRef): Unit
> def apply(inline level: Level, inline marker: Marker, inline message: Message, inline cause: Throwable): Unit
> def apply(inline level: Level, inline marker: Marker, inline message: AnyRef, inline cause: Throwable): Unit
> def apply(inline level: Level, inline message: Message): Unit
> def apply(inline level: Level, inline message: AnyRef): Unit
> def apply(inline level: Level, inline message: Message, inline cause: Throwable): Unit
> def apply(inline level: Level, inline message: AnyRef, inline cause: Throwable): Unit
> def traceEntry(inline params: AnyRef*): EntryMessage
> def traceEntry(inline message: Message): EntryMessage
> def traceExit(inline entryMessage: EntryMessage): Unit
> def traceExit[R](inline entryMessage: EntryMessage, result: R): R
> def traceExit[R](inline message: Message, result: R): R
> def throwing[T <: Throwable](inline level: Level, inline t: T): T
> def catching(inline level: Level, inline t: Throwable): Unit
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)