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
|
Improve this Doc
View Source
Source
Declaration
public readonly string Source { get; }
Property Value
|
Improve this Doc
View Source
Type
Declaration
public readonly Type Type { get; }
Property Value
Methods
|
Improve this Doc
View Source
Create(Object)
Declaration
public static LogSource Create(object o)
Parameters
Type |
Name |
Description |
Object |
o |
|
Returns
|
Improve this Doc
View Source
Create(Object, ActorSystem)
Declaration
public static LogSource Create(object o, ActorSystem system)
Parameters
Returns
|
Improve this Doc
View Source
Create(String, Type)
Declaration
public static LogSource Create(string source, Type t)
Parameters
Returns
|
Improve this Doc
View Source
FromActor(IActorContext, ActorSystem)
Declaration
public static string FromActor(IActorContext actor, ActorSystem system)
Parameters
Returns
|
Improve this Doc
View Source
FromActorRef(IActorRef, ActorSystem)
Declaration
public static string FromActorRef(IActorRef a, ActorSystem system)
Parameters
Returns
|
Improve this Doc
View Source
FromString(String, ActorSystem)
Declaration
public static string FromString(string source, ActorSystem system)
Parameters
Returns
|
Improve this Doc
View Source
FromType(Type, ActorSystem)
Declaration
public static string FromType(Type t, ActorSystem system)
Parameters
Returns
|
Improve this Doc
View Source
SourceType(Object)
Declaration
public static Type SourceType(object o)
Parameters
Type |
Name |
Description |
Object |
o |
|
Returns
Extension Methods