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.
Assembly: Akka.dll
Syntax
Properties
|
Edit this page
View Source
Source
Declaration
public readonly string Source { get; }
Property Value
|
Edit this page
View Source
Type
Declaration
public readonly Type Type { get; }
Property Value
Methods
|
Edit this page
View Source
Create(object)
Declaration
public static LogSource Create(object o)
Parameters
Type |
Name |
Description |
object |
o |
|
Returns
|
Edit this page
View Source
Create(object, ActorSystem)
Declaration
public static LogSource Create(object o, ActorSystem system)
Parameters
Returns
|
Edit this page
View Source
Create(string, Type)
Declaration
public static LogSource Create(string source, Type t)
Parameters
Returns
|
Edit this page
View Source
FromActor(IActorContext, ActorSystem)
Declaration
public static string FromActor(IActorContext actor, ActorSystem system)
Parameters
Returns
|
Edit this page
View Source
FromActorRef(IActorRef, ActorSystem)
Declaration
public static string FromActorRef(IActorRef a, ActorSystem system)
Parameters
Returns
|
Edit this page
View Source
FromString(string, ActorSystem)
Declaration
public static string FromString(string source, ActorSystem system)
Parameters
Returns
|
Edit this page
View Source
FromType(Type, ActorSystem)
Declaration
public static string FromType(Type t, ActorSystem system)
Parameters
Returns
|
Edit this page
View Source
SourceType(object)
Declaration
public static Type SourceType(object o)
Parameters
Type |
Name |
Description |
object |
o |
|
Returns
Extension Methods