Home / Function/ safeObjectAppend() — netty Function Reference

safeObjectAppend() — netty Function Reference

Architecture documentation for the safeObjectAppend() function in MessageFormatter.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4f13c2e2_74b8_7113_01aa_e5c8cd81afd4["safeObjectAppend()"]
  15dfd92a_397f_c44b_376f_363fa0eb3c7c["MessageFormatter"]
  4f13c2e2_74b8_7113_01aa_e5c8cd81afd4 -->|defined in| 15dfd92a_397f_c44b_376f_363fa0eb3c7c
  18685557_824c_32da_a77f_c1ade1ad4932["deeplyAppendParameter()"]
  18685557_824c_32da_a77f_c1ade1ad4932 -->|calls| 4f13c2e2_74b8_7113_01aa_e5c8cd81afd4
  style 4f13c2e2_74b8_7113_01aa_e5c8cd81afd4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/logging/MessageFormatter.java lines 274–285

    private static void safeObjectAppend(StringBuilder sbuf, Object o) {
        try {
            String oAsString = o.toString();
            sbuf.append(oAsString);
        } catch (Throwable t) {
            System.err
                    .println("SLF4J: Failed toString() invocation on an object of type ["
                            + o.getClass().getName() + ']');
            t.printStackTrace();
            sbuf.append("[FAILED toString()]");
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does safeObjectAppend() do?
safeObjectAppend() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/logging/MessageFormatter.java.
Where is safeObjectAppend() defined?
safeObjectAppend() is defined in common/src/main/java/io/netty/util/internal/logging/MessageFormatter.java at line 274.
What calls safeObjectAppend()?
safeObjectAppend() is called by 1 function(s): deeplyAppendParameter.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free