Search Results for

    Show / Hide Table of Contents

    Struct LogSource

    This object holds predefined formatting rules for log sources.

    In case an ActorSystem is provided, the following apply:

    • ActorBase and IActorRef will be represented by their absolute path.
    • providing a string as source will append "(ActorSystem address)" and use the result.
    • providing a Type will extract its simple name, append "(ActorSystem address)", and use the result.
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Event
    Assembly: Akka.dll
    Syntax
    public struct LogSource

    Properties

    | Edit this page View Source

    Source

    Declaration
    public readonly string Source { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Type

    Declaration
    public readonly Type Type { get; }
    Property Value
    Type Description
    Type

    Methods

    | Edit this page View Source

    Create(object)

    Declaration
    public static LogSource Create(object o)
    Parameters
    Type Name Description
    object o
    Returns
    Type Description
    LogSource
    | Edit this page View Source

    Create(object, ActorSystem)

    Declaration
    public static LogSource Create(object o, ActorSystem system)
    Parameters
    Type Name Description
    object o
    ActorSystem system
    Returns
    Type Description
    LogSource
    | Edit this page View Source

    Create(string, Type)

    Declaration
    public static LogSource Create(string source, Type t)
    Parameters
    Type Name Description
    string source
    Type t
    Returns
    Type Description
    LogSource
    | Edit this page View Source

    FromActor(IActorContext, ActorSystem)

    Declaration
    public static string FromActor(IActorContext actor, ActorSystem system)
    Parameters
    Type Name Description
    IActorContext actor
    ActorSystem system
    Returns
    Type Description
    string
    | Edit this page View Source

    FromActorRef(IActorRef, ActorSystem)

    Declaration
    public static string FromActorRef(IActorRef a, ActorSystem system)
    Parameters
    Type Name Description
    IActorRef a
    ActorSystem system
    Returns
    Type Description
    string
    | Edit this page View Source

    FromString(string, ActorSystem)

    Declaration
    public static string FromString(string source, ActorSystem system)
    Parameters
    Type Name Description
    string source
    ActorSystem system
    Returns
    Type Description
    string
    | Edit this page View Source

    FromType(Type, ActorSystem)

    Declaration
    public static string FromType(Type t, ActorSystem system)
    Parameters
    Type Name Description
    Type t
    ActorSystem system
    Returns
    Type Description
    string
    | Edit this page View Source

    SourceType(object)

    Declaration
    public static Type SourceType(object o)
    Parameters
    Type Name Description
    object o
    Returns
    Type Description
    Type

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET